Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

MQL Plus Enhanced Error Handler Support - MetaTrader 5 Library - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

MQL Plus Enhanced Error Handler Support - library for MetaTrader 5

MQL Plus Enhanced Error Handler Support - library for MetaTrader 5

From now on, the project will be distributed as a shared project via MQL Cloud Storage. You are welcome to contribute to the code.

You will need the "MQLplus Included Library Collection" project. There is an option to add the "MQLplus Enhanced Error Handler Library" project to your file to compile the shared binary library and get a sample project showing the usage of the library.

Changelog 3.12

Current version 3.12

Encapsulate error codes and text processing.

Supported features:

Error code handling and parsing error codes into text messages is a pain. This include file will solve some of the day-to-day problems of dealing with error codes.

Output example:

MQL Plus Enhanced Error Handler Support - library for MetaTrader 5

This output is produced by ObjectGetInteger() in the sample code below.


Attachment download

📎 lib_error_definitions.mqh (19.44 KB)

📎lib_error_functions.mqh (8.36 KB)

📎 lib_error_main.mqh (47.58 KB)

📎 lib_errtxt_mql4.mqh (52.4 KB)

📎 lib_errtxt_mql4_error_codes.mqh (31.02 KB)

📎 lib_errtxt_mql5.mqh (614.85 KB)

📎 lib_errtxt_mql5_error_codes.mqh (31.91 KB)

📎 lib_error_descriptions_mt5_fr.csv (24.06 KB)

📎 lib_error.mqh (12.1 KB)

📎liberror.mq5 (1.64 KB)

📎 liberror_howto.mq5 (17.87 KB)

Source: MQL5 #32083

Verification code Refresh