GLib.OptionError
Description: Reference for GLib.OptionError

### Enumeration

# GLibOptionError

#### Declaration

    error-domain GLib.OptionError

#### Description [src]

Error codes returned by option parsing.

#### Members

`G_OPTION_ERROR_UNKNOWN_OPTION`

  An option was not known to the parser. This error will only be reported, if the parser hasn’t been instructed to ignore unknown options, see g_option_context_set_ignore_unknown_options().

  - Value: `0`
  - Available since: 2.0
`G_OPTION_ERROR_BAD_VALUE`

  A value couldn’t be parsed.

  - Value: `1`
  - Available since: 2.0
`G_OPTION_ERROR_FAILED`

  A `GOptionArgFunc` callback failed.

  - Value: `2`
  - Available since: 2.0