#include <cpl.h>
#include <xsh_msg.h>
Go to the source code of this file.
Defines | |
#define | irplib_error_assure(CONDITION, ERROR_CODE, MSG, ACTION) |
Generic error handling macro. | |
#define | irplib_error_push(ec, msg) |
Set or propagate an error. | |
#define | irplib_error_dump(severity, trace_severity) |
Print the error queue. | |
Functions | |
void | xsh_irplib_error_reset (void) |
Reset the error state. | |
cpl_error_code | xsh_irplib_error_push_macro (const char *func, cpl_error_code ec, const char *file, unsigned int line) |
Set or propagate an error. | |
void | xsh_irplib_error_dump_macro (const char *func, const char *file, unsigned int line, cpl_msg_severity severity, cpl_msg_severity trace_severity) |
Print the error queue. | |
void | xsh_irplib_error_set_msg (const char *format,...) |
Temporarily store an error message. |