Enum serenity::framework::standard::ArgError
[−]
[src]
pub enum ArgError<E: StdError> {
Eos,
Parse(E),
}Defines how an operation on an Args method failed.
Variants
Eos"END-OF-STRING", more precisely, there isn't anything to parse anymore.
Parse(E)A parsing operation failed; the error in it can be of any returned from the FromStr
trait.
Trait Implementations
impl<E: Debug + StdError> Debug for Error<E>[src]
impl<E: StdError> From<E> for Error<E>[src]
impl<E: StdError> StdError for Error<E>[src]
fn description(&self) -> &str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>[src]
The lower-level cause of this error, if any. Read more