LibGame
v0.4.0
The LG Game Engine - Copyright (C) 2024 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.
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 appropiate behaviour can be choosen.
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 appropiate behaviour can be choosen.
void dump_libetm_error_codes | ( | ) |
Dump libetm error codes and strings.