EthosError

## EthosError EthosError — ethos error types |

## Synopsis

    #define             ETHOS_TYPE_ERROR
    #define             ETHOS_ERROR
    enum                EthosError;
    GType               ethos_error_get_type                (void);
    GQuark              ethos_error_quark                   (void);

## Description

## Details

### ETHOS_TYPE_ERROR

    #define ETHOS_TYPE_ERROR (ethos_error_get_type())

### ETHOS_ERROR

    #define ETHOS_ERROR (ethos_error_quark())

EthosError GError domain.

### enum EthosError

    typedef enum {
    	ETHOS_ERROR_FILE_NOT_FOUND,
    	ETHOS_ERROR_INVALID_KEY_FILE,
    	ETHOS_ERROR_PLUGIN,
    	ETHOS_ERROR_PLUGIN_LOADER,
    } EthosError;

EthosError error enumeration.

`ETHOS_ERROR_FILE_NOT_FOUND` | File did not exist or was invalid.
`ETHOS_ERROR_INVALID_KEY_FILE` | The plugin GKeyFile is invalid.
`ETHOS_ERROR_PLUGIN` | An error with a plugin.
`ETHOS_ERROR_PLUGIN_LOADER` | An error with a plugin-loader.

### ethos_error_get_type ()

    GType               ethos_error_get_type                (void);

Retreives the GType for the ethos error domain.

Returns : | the GType for EthosError

### ethos_error_quark ()

    GQuark              ethos_error_quark                   (void);

Retrieves the error domain for ethos.

Returns : | the GQuark for ethos