ezfc_error_t

ezfc_error_t — An enumerated type for error handling in libeasyfc.

Functions

Types and Values

#define EZFC_ERROR
enum ezfc_error_t

Description

This type defines an error type being used for GError.

Functions

ezfc_error_get_quark ()

GQuark
ezfc_error_get_quark (void);

Obtains a GQuark being used for GError.

Returns

a GQuark.

Types and Values

EZFC_ERROR

#define EZFC_ERROR (ezfc_error_get_quark())

A GQuark value being used in libeasyfc.


enum ezfc_error_t

Error code used in libeasyfc.

Members

EZFC_ERR_UNKNOWN

unknown error happened.

 

EZFC_ERR_SUCCESS

an operation is succeeded.

 

EZFC_ERR_OOM

Out of memory occurred.

 

EZFC_ERR_FAIL_ON_FC

an error happened in fontconfig.

 

EZFC_ERR_NO_VALID_FONT

no valid font is available on the system.

 

EZFC_ERR_NO_FAMILY

no font family name found in a class.

 

EZFC_ERR_NO_CONFIG_DIR

no valid configuration directory found.

 

EZFC_ERR_NO_ELEMENTS

no elements found to write.

 

EZFC_ERR_NO_CONFIG_FILE

no configuration file was available on the filesystem.

 

EZFC_ERR_FAIL_ON_XML

an error happened in libxml2.

 

EZFC_ERR_FAIL_ON_LIBC

an error happened in libc.

 

EZFC_ERR_END

No real error, but just a terminator.