## FoError

FoError

## Synopsis

                        FoError;
                        FoErrorClass;
    FoDatatype*         fo_error_new                        (void);
    FoDatatype*         fo_error_new_with_value             (GError *value);
    GError*             fo_error_get_value                  (FoDatatype *error);

## Description

## Details

### FoError

    typedef struct _FoError FoError;

### FoErrorClass

    typedef struct _FoErrorClass FoErrorClass;

### fo_error_new ()

    FoDatatype*         fo_error_new                        (void);

Creates a new FoError initialized to default value.

Returns : | The new FoError

### fo_error_new_with_value ()

    FoDatatype*         fo_error_new_with_value             (GError *value);

Creates a new FoError set to `value`

`value` : | Error of the new FoError
Returns : | The new FoError

### fo_error_get_value ()

    GError*             fo_error_get_value                  (FoDatatype *error);

Get the value of `error`

`error` : | FoError
Returns : | GError