GOptionError

Error codes returned by option parsing.

Values

ValueMeaning
UNKNOWN_OPTION0

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 OptionContext.setIgnoreUnknownOptions.

BAD_VALUE1

A value couldn't be parsed.

FAILED2

A GOptionArgFunc callback failed.