121 #define QOF_MOD_ERROR "qof-error-module" 124 #define QOF_SUCCESS 0 QofErrorId qof_error_register(const gchar *err_message, gboolean use_file)
Generate and register a new error.
QofTime * qof_error_get_time(QofSession *session)
Alternative for applications.
Encapsulates a connection to a backend (persistent store)
QofErrorId qof_error_check(QofSession *session)
gint32 QofErrorId
The ID of this error.
QofErrorId qof_error_check_be(QofBackend *be)
Check for errors.
QofTime * qof_error_get_time_be(QofBackend *be)
Get the time of the most recent error.
const gchar * qof_error_get_message(QofSession *session)
Alternative for applications.
void qof_error_set(QofSession *session, QofErrorId error)
Add an error to the stack for this session.
struct QofError_s QofError
QofErrorId qof_error_get_id(QofSession *session)
Alternative for applications.
struct QofTime64 QofTime
Use a 64-bit signed int QofTime.
void qof_error_clear(QofSession *session)
clear the error stack for the session.
void qof_error_unregister(QofErrorId id)
Unregister an error.
const gchar * qof_error_get_message_be(QofBackend *be)
Pop the most recent error and get the message.
QofErrorId qof_error_get_id_be(QofBackend *be)
Pop the most recent error from the backend stack.