Trait signal_gen_cjds66_lib::error::From[][src]

pub trait From {
    fn from_clap_error(val: Error) -> Self;
fn with_description(message: &str, kind: ErrorKind) -> Self; }
Expand description

Easily construct a new Error value using one of these convenience functions.

Required methods

Construct a new Error value from an existing clap Error

Construct a new Error value with a given error message, using a certain clap::ErrorKind as a base.

Implementors