| General Functions

### ticables_error_get

TIEXPORT1 int TICALL ticables_error_get(CableError number, char **message)

Attempt to match the message corresponding to the error number. The returned string must be freed when no longer needed. The error message has the following format: - 1: the error message - 2: the cause(s), explanations on how to fix it - 3: the error returned by the system

number : | error number (see error.h for list).
message : | a newly GLib allocated string which contains corresponding error *message.
Return value : | 0 if error has been caught, the error number otherwise (propagation).

### Return to the main index