## LmError LmError — Error reporting. |

## Synopsis

    GQuark              lm_error_quark                      (void);
    enum                LmError;
    #define             LM_ERROR

## Description

N/A

## Details

### lm_error_quark ()

    GQuark              lm_error_quark                      (void);

Returns the Loudmouth GError domain quark.

-

Returns : | The Loudmouth domain quark used by GError.

### enum LmError

    typedef enum {
            LM_ERROR_CONNECTION_NOT_OPEN,
            LM_ERROR_CONNECTION_OPEN,
            LM_ERROR_AUTH_FAILED,
    	    LM_ERROR_CONNECTION_FAILED
    } LmError;

Describes the problem of the error.

`LM_ERROR_CONNECTION_NOT_OPEN` | Connection not open when trying to send a message
`LM_ERROR_CONNECTION_OPEN` | Connection is already open when trying to open it again.
`LM_ERROR_AUTH_FAILED` | Authentication failed while opening connection
`LM_ERROR_CONNECTION_FAILED` | Connection failed to open.

### LM_ERROR

    #define LM_ERROR lm_error_quark ()

Macro for getting the error quark.