Struct gumdrop::Error [] [src]

pub struct Error { /* fields omitted */ }

Represents an error encountered during argument parsing

Methods

impl Error
[src]

Returns an error for a failed attempt at parsing an option value.

Returns an error for an option receiving an unexpected argument value, e.g. --option=value.

Returns an error for a missing required argument.

Returns an error when a free argument was encountered, but the options type does not support free arguments.

Returns an error for an unrecognized option.

Returns an error for an unrecognized long option, e.g. --option.

Returns an error for an unrecognized short option, e.g. -o.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more