Error Codes

tcex.tcex_error_codes

TcEx Error Codes

class tcex.tcex_error_codes.TcExErrorCodes[source]

Bases: object

TcEx Framework Error Codes.

errors

TcEx defined error codes and messages.

Note

RuntimeErrors with a code of >= 10000 are considered critical. Those < 10000 are considered warning or errors and are up to the developer to determine the appropriate behavior.

message(code)[source]

Return the error message.

Parameters:code (integer) – The error code integer.
Returns:The error message.
Return type:(string)