Struct clap::ClapError [] [src]

pub struct ClapError {
    pub error: String,
    pub error_type: ClapErrorType,
}

Command line argument parser error

Fields

Formated error message

The type of error

Methods

impl ClapError
[src]

Should the message be written to stdout or not

Prints the error to stderr and exits with a status of 1

Trait Implementations

impl Debug for ClapError
[src]

Formats the value using the given formatter.

impl Error for ClapError
[src]

A short description of the error. Read more

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

impl Display for ClapError
[src]

Formats the value using the given formatter.

impl From<Error> for ClapError
[src]

Performs the conversion.

impl From<Error> for ClapError
[src]

Performs the conversion.