14 #ifndef ECL_ERRORS_ERROR_FUNCTIONS_HPP_ 15 #define ECL_ERRORS_ERROR_FUNCTIONS_HPP_ 33 #if defined(NDEBUG) || defined(ECL_NDEBUG) 34 #define ecl_run_time_assert(req,loc,msg) ((void)0) ErrorFlag
Enumerated flags for error message handling.
ecl_errors_PUBLIC void ecl_run_time_assert(bool requirement, const char *location, const char *msg)
Condition test, aborts with a programmable error string if it fails.
#define ecl_errors_PUBLIC
ecl_errors_PUBLIC void ecl_run_time_abort(const char *location, const char *msg="Abort procedure called.")
Puts a customised error string to stderr before aborting the program.
Error handling without exceptions.