## GIErrorDomainInfo

GIErrorDomainInfo — Struct representing an error domain

## Synopsis

    #define             GI_IS_ERROR_DOMAIN_INFO             (info)
    typedef             GIErrorDomainInfo;
    const gchar *       g_error_domain_info_get_quark       (GIErrorDomainInfo *info);
    GIInterfaceInfo *   g_error_domain_info_get_codes       (GIErrorDomainInfo *info);

## Description

A GIErrorDomainInfo struct represents a domain of a GError. An error domain is associated with a GQuark and contains a pointer to an enum with all the error codes.

## Struct hierarchy

      GIBaseInfo
       +----GIErrorDomainInfo

## Details

### GI_IS_ERROR_DOMAIN_INFO()

    #define             GI_IS_ERROR_DOMAIN_INFO(info)

`info` : |

### GIErrorDomainInfo

    typedef GIBaseInfo GIErrorDomainInfo;

Represents a GError error domain.

### g_error_domain_info_get_quark ()

    const gchar *       g_error_domain_info_get_quark       (GIErrorDomainInfo *info);

Obtain a string representing the quark for this error domain. `NULL` will be returned if the type tag is wrong or if a quark is missing in the typelib.

`info` : | a GIErrorDomainInfo
Returns : | the quark represented as a string or `NULL`

### g_error_domain_info_get_codes ()

    GIInterfaceInfo *   g_error_domain_info_get_codes       (GIErrorDomainInfo *info);

Obtain the enum containing all the error codes for this error domain. The return value will have a GIInfoType of `GI_INFO_TYPE_ERROR_DOMAIN`

`info` : | a GIErrorDomainInfo
Returns : | the error domain or `NULL` if type tag is wrong, free the struct with `g_base_info_unref()` when done. [transfer full]