return("There is not enough money to complete the request");
caseTRADE_RETCODE_PRICE_CHANGED:
return("Prices changed");
caseTRADE_RETCODE_PRICE_OFF:
return("There are no quotes to process the request");
caseTRADE_RETCODE_INVALID_EXPIRATION:
return("Invalid order expiration date in the request");
caseTRADE_RETCODE_ORDER_CHANGED:
return("Order state changed");
caseTRADE_RETCODE_TOO_MANY_REQUESTS:
return("Too frequent requests");
caseTRADE_RETCODE_NO_CHANGES:
return("No changes in request");
caseTRADE_RETCODE_SERVER_DISABLES_AT:
return("Autotrading disabled by server");
caseTRADE_RETCODE_CLIENT_DISABLES_AT:
return("Autotrading disabled by client terminal");
caseTRADE_RETCODE_LOCKED:
return("Request locked for processing");
caseTRADE_RETCODE_FROZEN:
return("Order or position frozen");
caseTRADE_RETCODE_INVALID_FILL:
return("Invalid order filling type");
caseTRADE_RETCODE_CONNECTION:
return("No connection with the trade server");
caseTRADE_RETCODE_ONLY_REAL:
return("Operation is allowed only for live accounts");
caseTRADE_RETCODE_LIMIT_ORDERS:
return("The number of pending orders has reached the limit");
caseTRADE_RETCODE_LIMIT_VOLUME:
return("The volume of orders and positions for the symbol has reached the limit");
caseTRADE_RETCODE_INVALID_ORDER:
return("Incorrect or prohibited order type");
caseTRADE_RETCODE_POSITION_CLOSED:
return("Position with the specified POSITION_IDENTIFIER has already been closed");
caseTRADE_RETCODE_INVALID_CLOSE_VOLUME:
return("A close volume exceeds the current position volume");
caseTRADE_RETCODE_CLOSE_ORDER_EXIST:
return("A close order already exists for a specified position");
caseTRADE_RETCODE_LIMIT_POSITIONS:
return("The number of open positions simultaneously present on an account can be limited by the server settings");
caseTRADE_RETCODE_REJECT_CANCEL:
return("The pending order activation request is rejected, the order is canceled");
caseTRADE_RETCODE_LONG_ONLY:
return("The request is rejected, because the \"Only long positions are allowed\" rule is set for the symbol (POSITION_TYPE_BUY)");
caseTRADE_RETCODE_SHORT_ONLY:
return("The request is rejected, because the \"Only short positions are allowed\" rule is set for the symbol (POSITION_TYPE_SELL)");
caseTRADE_RETCODE_CLOSE_ONLY:
return("The request is rejected, because the \"Only position closing is allowed\" rule is set for the symbol");
caseTRADE_RETCODE_FIFO_CLOSE:
return("The request is rejected, because \"Position closing is allowed only by FIFO rule\" flag is set for the trading account (ACCOUNT_FIFO_CLOSE=true)");
caseTRADE_RETCODE_HEDGE_PROHIBITED:
return("The request is rejected, because the \"Opposite positions on a single symbol are disabled\" rule is set for the trading account");
return("Wrong parameter in the inner call of the client terminal function");
caseERR_INVALID_PARAMETER:
return("Wrong parameter when calling the system function");
caseERR_NOT_ENOUGH_MEMORY:
return("Not enough memory to perform the system function");
caseERR_STRUCT_WITHOBJECTS_ORCLASS:
return("The structure contains objects of strings and/or dynamic arrays and/or structure of such objects and/or classes");
caseERR_INVALID_ARRAY:
return("Array of a wrong type, wrong size, or a damaged object of a dynamic array");
caseERR_ARRAY_RESIZE_ERROR:
return("Not enough memory for the relocation of an array, or an attempt to change the size of a static array");
caseERR_STRING_RESIZE_ERROR:
return("Not enough memory for the relocation of string");
caseERR_NOTINITIALIZED_STRING:
return("Not initialized string");
caseERR_INVALID_DATETIME:
return("Invalid date and/or time");
caseERR_ARRAY_BAD_SIZE:
return("Total amount of elements in the array cannot exceed 2147483647");
caseERR_INVALID_POINTER:
return("Wrong pointer");
caseERR_INVALID_POINTER_TYPE:
return("Wrong type of pointer");
caseERR_FUNCTION_NOT_ALLOWED:
return("Function is not allowed for call");
caseERR_RESOURCE_NAME_DUPLICATED:
return("The names of the dynamic and the static resource match");
caseERR_RESOURCE_NOT_FOUND:
return("Resource with this name has not been found in EX5");
caseERR_RESOURCE_UNSUPPORTED_TYPE:
return("Unsupported resource type or its size exceeds 16 Mb");
caseERR_RESOURCE_NAME_IS_TOO_LONG:
return("The resource name exceeds 63 characters");
caseERR_MATH_OVERFLOW:
return("Overflow occurred when calculating math function");
caseERR_SLEEP_ERROR:
return("Out of test end date after calling Sleep()");
caseERR_PROGRAM_STOPPED:
return("Test forcibly stopped from the outside");
caseERR_INVALID_TYPE:
return("Invalid type");
caseERR_INVALID_HANDLE:
return("Invalid handle");
caseERR_TOO_MANY_OBJECTS:
return("Object pool filled out");
// Charts
caseERR_CHART_WRONG_ID:
return("Wrong chart ID");
caseERR_CHART_NO_REPLY:
return("Chart does not respond");
caseERR_CHART_NOT_FOUND:
return("Chart not found");
caseERR_CHART_NO_EXPERT:
return("No Expert Advisor in the chart that could handle the event");
caseERR_CHART_CANNOT_OPEN:
return("Chart opening error");
caseERR_CHART_CANNOT_CHANGE:
return("Failed to change chart symbol and period");
caseERR_CHART_WRONG_PARAMETER:
return("Error value of the parameter for the function of working with charts");
caseERR_CHART_CANNOT_CREATE_TIMER:
return("Failed to create timer");
caseERR_CHART_WRONG_PROPERTY:
return("Wrong chart property ID");
caseERR_CHART_SCREENSHOT_FAILED:
return("Error creating screenshots");
caseERR_CHART_NAVIGATE_FAILED:
return("Error navigating through chart");
caseERR_CHART_TEMPLATE_FAILED:
return("Error applying template");
caseERR_CHART_WINDOW_NOT_FOUND:
return("Subwindow containing the indicator was not found");
caseERR_CHART_INDICATOR_CANNOT_ADD:
return("Error adding an indicator to chart");
caseERR_CHART_INDICATOR_CANNOT_DEL:
return("Error deleting an indicator from the chart");
caseERR_CHART_INDICATOR_NOT_FOUND:
return("Indicator not found on the specified chart");
// Graphical Objects
caseERR_OBJECT_ERROR:
return("Error working with a graphical object");
caseERR_OBJECT_NOT_FOUND:
return("Graphical object was not found");
caseERR_OBJECT_WRONG_PROPERTY:
return("Wrong ID of a graphical object property");
caseERR_OBJECT_GETDATE_FAILED:
return("Unable to get date corresponding to the value");
caseERR_OBJECT_GETVALUE_FAILED:
return("Unable to get value corresponding to the date");
// MarketInfo
caseERR_MARKET_UNKNOWN_SYMBOL:
return("Unknown symbol");
caseERR_MARKET_NOT_SELECTED:
return("Symbol is not selected in MarketWatch");
caseERR_MARKET_WRONG_PROPERTY:
return("Wrong identifier of a symbol property");
caseERR_MARKET_LASTTIME_UNKNOWN:
return("Time of the last tick is not known (no ticks)");
caseERR_MARKET_SELECT_ERROR:
return("Error adding or deleting a symbol in MarketWatch");
// History Access
caseERR_HISTORY_NOT_FOUND:
return("Requested history not found");
caseERR_HISTORY_WRONG_PROPERTY:
return("Wrong ID of the history property");
caseERR_HISTORY_TIMEOUT:
return("Exceeded history request timeout");
caseERR_HISTORY_BARS_LIMIT:
return("Number of requested bars limited by terminal settings");
caseERR_HISTORY_LOAD_ERRORS:
return("Multiple errors when loading history");
caseERR_HISTORY_SMALL_BUFFER:
return("Receiving array is too small to store all requested data");
// Global_Variables
caseERR_GLOBALVARIABLE_NOT_FOUND:
return("Global variable of the client terminal is not found");
caseERR_GLOBALVARIABLE_EXISTS:
return("Global variable of the client terminal with the same name already exists");
caseERR_GLOBALVARIABLE_NOT_MODIFIED:
return("Global variables were not modified");
caseERR_GLOBALVARIABLE_CANNOTREAD:
return("Cannot read file with global variable values");
caseERR_GLOBALVARIABLE_CANNOTWRITE:
return("Cannot write file with global variable values");
caseERR_MAIL_SEND_FAILED:
return("Email sending failed");
caseERR_PLAY_SOUND_FAILED:
return("Sound playing failed");
caseERR_MQL5_WRONG_PROPERTY:
return("Wrong identifier of the program property");
caseERR_TERMINAL_WRONG_PROPERTY:
return("Wrong identifier of the terminal property");
caseERR_FTP_SEND_FAILED:
return("File sending via ftp failed");
caseERR_NOTIFICATION_SEND_FAILED:
return("Failed to send a notification");
caseERR_NOTIFICATION_WRONG_PARAMETER:
return("Invalid parameter for sending a notification – an empty string or NULL has been passed to the SendNotification() function");
caseERR_NOTIFICATION_WRONG_SETTINGS:
return("Wrong settings of notifications in the terminal (ID is not specified or permission is not set)");
caseERR_NOTIFICATION_TOO_FREQUENT:
return("Too frequent sending of notifications");
caseERR_FTP_NOSERVER:
return("FTP server is not specified");
caseERR_FTP_NOLOGIN:
return("FTP login is not specified");
caseERR_FTP_FILE_ERROR:
return("File not found in the MQL5/Files directory to send on FTP server");
caseERR_FTP_CONNECT_FAILED:
return("FTP connection failed");
caseERR_FTP_CHANGEDIR:
return("FTP path not found on server");
// Custom Indicator Buffers
caseERR_BUFFERS_NO_MEMORY:
return("Not enough memory for the distribution of indicator buffers");
caseERR_BUFFERS_WRONG_INDEX:
return("Wrong indicator buffer index");
// Custom Indicator Properties
caseERR_CUSTOM_WRONG_PROPERTY:
return("Wrong ID of the custom indicator property");
// Account
caseERR_ACCOUNT_WRONG_PROPERTY:
return("Wrong account property ID");
caseERR_TRADE_WRONG_PROPERTY:
return("Wrong trade property ID");
caseERR_TRADE_DISABLED:
return("Trading by Expert Advisors prohibited");
caseERR_TRADE_POSITION_NOT_FOUND:
return("Position not found");
caseERR_TRADE_ORDER_NOT_FOUND:
return("Order not found");
caseERR_TRADE_DEAL_NOT_FOUND:
return("Deal not found");
caseERR_TRADE_SEND_FAILED:
return("Trade request sending failed");
caseERR_TRADE_CALC_FAILED:
return("Failed to calculate profit or margin");
// Indicators
caseERR_INDICATOR_UNKNOWN_SYMBOL:
return("Unknown symbol");
caseERR_INDICATOR_CANNOT_CREATE:
return("Indicator cannot be created");
caseERR_INDICATOR_NO_MEMORY:
return("Not enough memory to add the indicator");
caseERR_INDICATOR_CANNOT_APPLY:
return("The indicator cannot be applied to another indicator");
caseERR_INDICATOR_CANNOT_ADD:
return("Error applying an indicator to chart");
caseERR_INDICATOR_DATA_NOT_FOUND:
return("Requested data not found");
caseERR_INDICATOR_WRONG_HANDLE:
return("Wrong indicator handle");
caseERR_INDICATOR_WRONG_PARAMETERS:
return("Wrong number of parameters when creating an indicator");
caseERR_INDICATOR_PARAMETERS_MISSING:
return("No parameters when creating an indicator");
caseERR_INDICATOR_CUSTOM_NAME:
return("The first parameter in the array must be the name of the custom indicator");
caseERR_INDICATOR_PARAMETER_TYPE:
return("Invalid parameter type in the array when creating an indicator");
caseERR_INDICATOR_WRONG_INDEX:
return("Wrong index of the requested indicator buffer");
// Depth of Market
caseERR_BOOKS_CANNOT_ADD:
return("Depth Of Market can not be added");
caseERR_BOOKS_CANNOT_DELETE:
return("Depth Of Market can not be removed");
caseERR_BOOKS_CANNOT_GET:
return("The data from Depth Of Market can not be obtained");
caseERR_BOOKS_CANNOT_SUBSCRIBE:
return("Error in subscribing to receive new data from Depth Of Market");
// File Operations
caseERR_TOO_MANY_FILES:
return("More than 64 files cannot be opened at the same time");
caseERR_WRONG_FILENAME:
return("Invalid file name");
caseERR_TOO_LONG_FILENAME:
return("Too long file name");
caseERR_CANNOT_OPEN_FILE:
return("File opening error");
caseERR_FILE_CACHEBUFFER_ERROR:
return("Not enough memory for cache to read");
caseERR_CANNOT_DELETE_FILE:
return("File deleting error");
caseERR_INVALID_FILEHANDLE:
return("A file with this handle was closed, or was not opening at all");
caseERR_WRONG_FILEHANDLE:
return("Wrong file handle");
caseERR_FILE_NOTTOWRITE:
return("The file must be opened for writing");
caseERR_FILE_NOTTOREAD:
return("The file must be opened for reading");
caseERR_FILE_NOTBIN:
return("The file must be opened as a binary one");
caseERR_FILE_NOTTXT:
return("The file must be opened as a text");
caseERR_FILE_NOTTXTORCSV:
return("The file must be opened as a text or CSV");
caseERR_FILE_NOTCSV:
return("The file must be opened as CSV");
caseERR_FILE_READERROR:
return("File reading error");
caseERR_FILE_BINSTRINGSIZE:
return("String size must be specified, because the file is opened as binary");
caseERR_INCOMPATIBLE_FILE:
return("A text file must be for string arrays, for other arrays - binary");
caseERR_FILE_IS_DIRECTORY:
return("This is not a file, this is a directory");
caseERR_FILE_NOT_EXIST:
return("File does not exist");
caseERR_FILE_CANNOT_REWRITE:
return("File can not be rewritten");
caseERR_WRONG_DIRECTORYNAME:
return("Wrong directory name");
caseERR_DIRECTORY_NOT_EXIST:
return("Directory does not exist");
caseERR_FILE_ISNOT_DIRECTORY:
return("This is a file, not a directory");
caseERR_CANNOT_DELETE_DIRECTORY:
return("The directory cannot be removed");
caseERR_CANNOT_CLEAN_DIRECTORY:
return("Failed to clear the directory (probably one or more files are blocked and removal operation failed)");
caseERR_FILE_WRITEERROR:
return("Failed to write a resource to a file");
caseERR_FILE_ENDOFFILE:
return("Unable to read the next piece of data from a CSV file (FileReadString, FileReadNumber, FileReadDatetime, FileReadBool), since the end of file is reached");
// String Casting
caseERR_NO_STRING_DATE:
return("No date in the string");
caseERR_WRONG_STRING_DATE:
return("Wrong date in the string");
caseERR_WRONG_STRING_TIME:
return("Wrong time in the string");
caseERR_STRING_TIME_ERROR:
return("Error converting string to date");
caseERR_STRING_OUT_OF_MEMORY:
return("Not enough memory for the string");
caseERR_STRING_SMALL_LEN:
return("The string length is less than expected");
caseERR_STRING_TOO_BIGNUMBER:
return("Too large number, more than ULONG_MAX");
caseERR_WRONG_FORMATSTRING:
return("Invalid format string");
caseERR_TOO_MANY_FORMATTERS:
return("Amount of format specifiers more than the parameters");
caseERR_TOO_MANY_PARAMETERS:
return("Amount of parameters more than the format specifiers");
caseERR_WRONG_STRING_PARAMETER:
return("Damaged parameter of string type");
caseERR_STRINGPOS_OUTOFRANGE:
return("Position outside the string");
caseERR_STRING_ZEROADDED:
return("0 added to the string end, a useless operation");
caseERR_STRING_UNKNOWNTYPE:
return("Unknown data type when converting to a string");
caseERR_WRONG_STRING_OBJECT:
return("Damaged string object");
// Operations with Arrays
caseERR_INCOMPATIBLE_ARRAYS:
return("Copying incompatible arrays");
caseERR_SMALL_ASSERIES_ARRAY:
return("The receiving array is declared as AS_SERIES, and it is of insufficient size");
caseERR_SMALL_ARRAY:
return("Too small array, the starting position is outside the array");
caseERR_ZEROSIZE_ARRAY:
return("An array of zero length");
caseERR_NUMBER_ARRAYS_ONLY:
return("Must be a numeric array");
caseERR_ONEDIM_ARRAYS_ONLY:
return("Must be a one-dimensional array");
caseERR_SERIES_ARRAY:
return("Timeseries cannot be used");
caseERR_DOUBLE_ARRAY_ONLY:
return("Must be an array of type double");
caseERR_FLOAT_ARRAY_ONLY:
return("Must be an array of type float");
caseERR_LONG_ARRAY_ONLY:
return("Must be an array of type long");
caseERR_INT_ARRAY_ONLY:
return("Must be an array of type int");
caseERR_SHORT_ARRAY_ONLY:
return("Must be an array of type short");
caseERR_CHAR_ARRAY_ONLY:
return("Must be an array of type char");
caseERR_STRING_ARRAY_ONLY:
return("String array only");
// Operations with OpenCL
caseERR_OPENCL_NOT_SUPPORTED:
return("OpenCL functions are not supported on this computer");
caseERR_OPENCL_INTERNAL:
return("Internal error occurred when running OpenCL");
caseERR_OPENCL_INVALID_HANDLE:
return("Invalid OpenCL handle");
caseERR_OPENCL_CONTEXT_CREATE:
return("Error creating the OpenCL context");
caseERR_OPENCL_QUEUE_CREATE:
return("Failed to create a run queue in OpenCL");
caseERR_OPENCL_PROGRAM_CREATE:
return("Error occurred when compiling an OpenCL program");
caseERR_OPENCL_TOO_LONG_KERNEL_NAME:
return("Too long kernel name (OpenCL kernel)");
caseERR_OPENCL_KERNEL_CREATE:
return("Error creating an OpenCL kernel");
caseERR_OPENCL_SET_KERNEL_PARAMETER:
return("Error occurred when setting parameters for the OpenCL kernel");
caseERR_OPENCL_EXECUTE:
return("OpenCL program runtime error");
caseERR_OPENCL_WRONG_BUFFER_SIZE:
return("Invalid size of the OpenCL buffer");
caseERR_OPENCL_WRONG_BUFFER_OFFSET:
return("Invalid offset in the OpenCL buffer");
caseERR_OPENCL_BUFFER_CREATE:
return("Failed to create an OpenCL buffer");
caseERR_OPENCL_TOO_MANY_OBJECTS:
return("Too many OpenCL objects");
caseERR_OPENCL_SELECTDEVICE:
return("OpenCL device selection error");
// Working with databases
caseERR_DATABASE_INTERNAL:
return("Internal database error");
caseERR_DATABASE_INVALID_HANDLE:
return("Invalid database handle");
caseERR_DATABASE_TOO_MANY_OBJECTS:
return("Exceeded the maximum acceptable number of Database objects");
caseERR_DATABASE_CONNECT:
return("Database connection error");
caseERR_DATABASE_EXECUTE:
return("Request execution error");
caseERR_DATABASE_PREPARE:
return("Request generation error");
caseERR_DATABASE_NO_MORE_DATA:
return("No more data to read");
caseERR_DATABASE_STEP:
return("Failed to move to the next request entry");
caseERR_DATABASE_NOT_READY:
return("Data for reading request results are not ready yet");
caseERR_DATABASE_BIND_PARAMETERS:
return("Failed to auto substitute parameters to an SQL request");
// Operations with WebRequest
caseERR_WEBREQUEST_INVALID_ADDRESS:
return("Invalid URL");
caseERR_WEBREQUEST_CONNECT_FAILED:
return("Failed to connect to specified URL");
caseERR_WEBREQUEST_TIMEOUT:
return("Timeout exceeded");
caseERR_WEBREQUEST_REQUEST_FAILED:
return("HTTP request failed");
// Operations with network (sockets)
caseERR_NETSOCKET_INVALIDHANDLE:
return("Invalid socket handle passed to function");
caseERR_NETSOCKET_TOO_MANY_OPENED:
return("Too many open sockets (max 128)");
caseERR_NETSOCKET_CANNOT_CONNECT:
return("Failed to connect to remote host");
caseERR_NETSOCKET_IO_ERROR:
return("Failed to send/receive data from socket");
caseERR_NETSOCKET_HANDSHAKE_FAILED:
return("Failed to establish secure connection (TLS Handshake)");
caseERR_NETSOCKET_NO_CERTIFICATE:
return("No data on certificate protecting the connection");
// Custom Symbols
caseERR_NOT_CUSTOM_SYMBOL:
return("A custom symbol must be specified");
caseERR_CUSTOM_SYMBOL_WRONG_NAME:
return("The name of the custom symbol is invalid");
caseERR_CUSTOM_SYMBOL_NAME_LONG:
return("The name of the custom symbol is too long");
caseERR_CUSTOM_SYMBOL_PATH_LONG:
return("The path of the custom symbol is too long");
caseERR_CUSTOM_SYMBOL_EXIST:
return("A custom symbol with the same name already exists");
caseERR_CUSTOM_SYMBOL_ERROR:
return("Error occurred while creating, deleting or changing the custom symbol");
caseERR_CUSTOM_SYMBOL_SELECTED:
return("You are trying to delete a custom symbol selected in Market Watch");
caseERR_CUSTOM_SYMBOL_PROPERTY_WRONG:
return("An invalid custom symbol property");
caseERR_CUSTOM_SYMBOL_PARAMETER_ERROR:
return("A wrong parameter while setting the property of a custom symbol");
caseERR_CUSTOM_SYMBOL_PARAMETER_LONG:
return("A too long string parameter while setting the property of a custom symbol");
caseERR_CUSTOM_TICKS_WRONG_ORDER:
return("Ticks in the array are not arranged in the order of time");
// Economic Calendar
caseERR_CALENDAR_MORE_DATA:
return("Array size is insufficient for receiving descriptions of all values");
caseERR_CALENDAR_TIMEOUT:
return("Request time limit exceeded");
caseERR_CALENDAR_NO_DATA:
return("Country is not found");
// Working with databases
caseERR_DATABASE_ERROR:
return("Generic error");
caseERR_DATABASE_LOGIC:
return("SQLite internal logic error");
caseERR_DATABASE_PERM:
return("Access denied");
caseERR_DATABASE_ABORT:
return("Callback routine requested abort");
caseERR_DATABASE_BUSY:
return("Database file locked");
caseERR_DATABASE_LOCKED:
return("Database table locked");
caseERR_DATABASE_NOMEM:
return("Insufficient memory for completing operation");
caseERR_DATABASE_READONLY:
return("Attempt to write to readonly database");
caseERR_DATABASE_INTERRUPT:
return("Operation terminated by sqlite3_interrupt()");
caseERR_DATABASE_IOERR:
return("Disk I/O error");
caseERR_DATABASE_CORRUPT:
return("Database disk image corrupted");
caseERR_DATABASE_NOTFOUND:
return("Unknown operation code in sqlite3_file_control()");
caseERR_DATABASE_FULL:
return("Insertion failed because database is full");
caseERR_DATABASE_CANTOPEN:
return("Unable to open the database file");
caseERR_DATABASE_PROTOCOL:
return("Database lock protocol error");
caseERR_DATABASE_EMPTY:
return("Internal use only");
caseERR_DATABASE_SCHEMA:
return("Database schema changed");
caseERR_DATABASE_TOOBIG:
return("String or BLOB exceeds size limit");
caseERR_DATABASE_CONSTRAINT:
return("Abort due to constraint violation");
caseERR_DATABASE_MISMATCH:
return("Data type mismatch");
caseERR_DATABASE_MISUSE:
return("Library used incorrectly");
caseERR_DATABASE_NOLFS:
return("Uses OS features not supported on host");
caseERR_DATABASE_AUTH:
return("Authorization denied");
caseERR_DATABASE_FORMAT:
return("Not used");
caseERR_DATABASE_RANGE:
return("Bind parameter error, incorrect index");
caseERR_DATABASE_NOTADB:
return("File opened that is not database file");
// Matrix and Vector Methods
caseERR_MATRIX_INTERNAL:
return("Internal error of the matrix/vector executing subsystem");
caseERR_MATRIX_NOT_INITIALIZED:
return("Matrix/vector not initialized");
caseERR_MATRIX_INCONSISTENT:
return("Inconsistent size of matrices/vectors in operation");
caseERR_MATRIX_INVALID_SIZE:
return("Invalid matrix/vector size");
caseERR_MATRIX_INVALID_TYPE:
return("Invalid matrix/vector type");
caseERR_MATRIX_FUNC_NOT_ALLOWED:
return("Function not available for this matrix/vector");