utils/error.h file

Error handling utils.

Contents

Functions

void error_handle_prv(GError* err, const char* format, ...) G_GNUC_PRINTF(2
Only to be called by HANDLE_ERROR macro.

Defines

#define HANDLE_ERROR(err, fmt, ...)
Shows a popup (or logs a warning if have no UI) and frees the error.

Define documentation

#define HANDLE_ERROR(err, fmt, ...)

Shows a popup (or logs a warning if have no UI) and frees the error.