Trait std::error::ErrorUnstable [-] [+] [src]

pub trait Error: Display where Self: 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; usually a static string.

Provided Methods

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

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

Implementors