gva-error

gva-error — Error Management

Functions

void gva_error_handle ()

Types and Values

#define GVA_ERROR
#define GVA_SQLITE_ERROR
enum GvaError

Description

These functions and macros are for use with GLib's GError API.

Functions

gva_error_handle ()

void
gva_error_handle (GError **error);

If error has been set, issues a warning message to standard error. Otherwise the function does nothing.

Parameters

error

a GError

 

Types and Values

GVA_ERROR

#define GVA_ERROR               gva_error_quark ()

Error domain for general operations in GNOME Video Arcade. Errors in this domain will be from the GvaError enumeration. See GError for information on error domains.


GVA_SQLITE_ERROR

#define GVA_SQLITE_ERROR        gva_sqlite_error_quark ()

Error domain for SQLite operations in GNOME Video Arcade. Errors in this domain will be from SQLite's own

result codes. See GError for information on error domains.

enum GvaError

Error codes for general operations in GNOME Video Arcade.

Members

GVA_ERROR_CONFIG

Configuration error.

 

GVA_ERROR_FORMAT

File format error.

 

GVA_ERROR_MAME

Error from a MAME process.

 

GVA_ERROR_QUERY

SQL query error.

 

GVA_ERROR_SYSTEM

System-level error.