Trait bitflags::__core::error::Error [] [src]

pub trait Error: Reflect + Debug + Display {
    fn description(&self) -> &str;

    fn cause(&self) -> Option<&Error> { ... }
}
[]

Base functionality for all errors in Rust.

Required Methods

fn description(&self) -> &str[]

A short description of the error.

The description should not contain newlines or sentence-ending punctuation, to facilitate embedding in larger user-facing strings.

Provided Methods

fn cause(&self) -> Option<&Error>[]

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

Implementors