![]() |
ticalc_get_error | Function |
calc_int.h |
int ticalc_get_error (int err_num, char *error_msg); |
Parameters
err_num |
an error code. |
error_msg |
a buffer big enough to contains the message. |
Returns |
0 if the error code has been catched, the error code otherwise. |
Summary
Convert an error code into a human readable error message.
Description
This function converts an error code returned by any of the ticable_xxx functions into an error message.
See also
Error codes are listed in error.h and messages are in error.c.