![]() |
LibGame v0.4.0
The LG Game Engine - Copyright (C) 2024-2026 ETMSoftware
|
Functions | |
| const char * | error_str_from_error_code (const ErrSt e_a[], int n_el, int e_c) |
| const char * | libetm_error_str (libetm_error_code e_c) |
| int | big_error_in_lib (libetm_error_code e_c, const char *str) |
| void | warning_in_lib (int wait, libetm_error_code e_c, const char *str) |
| void | dump_libetm_error_codes () |
=== Errors funcs ===
| const char * error_str_from_error_code | ( | const ErrSt | e_a[], |
| int | n_el, | ||
| int | e_c | ||
| ) |
| const char * libetm_error_str | ( | libetm_error_code | e_c | ) |
Return error string from error code which apply to libetm only.
| e_c | Error code |
| int big_error_in_lib | ( | libetm_error_code | e_c, |
| const char * | str | ||
| ) |
Critical error handler for libetm that will call big_error() function defined in app, so that appropriate behaviour can be choosen.
| e_c | Error code |
| str | Error string |
| void warning_in_lib | ( | int | wait, |
| libetm_error_code | e_c, | ||
| const char * | str | ||
| ) |
Warning handler for libetm that will call warning() function defined in app, so that appropriate behaviour can be choosen.
| wait | |
| str | Error string |
| e_c | Error code |
| void dump_libetm_error_codes | ( | ) |
Dump libetm error codes and strings.