14 #include "../../include/ecl/errors/run_time_functions.hpp" 15 #include "../../include/ecl/errors/handlers.hpp" 21 #if defined(NDEBUG) || defined(ECL_NDEBUG) 27 fputs (
"Location : ", stderr);
28 fputs ( location ,stderr);
30 fputs (
"Message : ", stderr);
32 fputs (
"\n", stderr);
40 fputs (
"Location : ", stderr);
41 fputs ( location ,stderr);
43 fputs (
"Message : ", stderr);
45 fputs (
"\n", stderr);
58 fputs (
"Location : ", stderr);
59 fputs ( location, stderr);
60 fputs (
"\nMessage : ", stderr);
62 fputs (
"\n", stderr);
68 fputs (
"Location : ", stderr);
69 fputs ( location,stderr);
70 fputs (
"\nMessage : ", stderr);
72 fputs (
"\n", stderr);
ErrorFlag
Enumerated flags for error message handling.
void ecl_run_time_assert(bool requirement, const char *location, const char *msg)
Condition test, aborts with a programmable error string if it fails.
void ecl_run_time_abort(const char *location, const char *msg)
Puts a customised error string to stderr before aborting the program.
The primary error handler for ecl libraries.