Files
aiomql/docs/core/errors.md
T
Ichinga Samuel b01e58ee08 v3.19
2024-02-12 21:09:28 +01:00

980 B

Errors

Tabel of contents

Error

class Error()

Error class for handling errors from MetaTrader 5.

Attributes

Name Type Description
code int Error code
description str Error description
descriptions dict A dictionary of error codes and descriptions

is_connection_error

def is_connection_error(self) -> bool

Check if error is a connection error.

Returns

Type Description
bool True if error is a connection error, False otherwise