Trait std::error::ErrorUnstable
[-]
[+]
[src]
pub trait Error: Send {
fn description(&self) -> &str;
fn detail(&self) -> Option<String> { ... }
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 detail(&self) -> Option<String>
A detailed description of the error, usually including dynamic information.
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any.
Implementors
impl Error for Utf8Errorimpl Error for FromUtf8Errorimpl Error for FromUtf16Errorimpl Error for IoErrorimpl Error for MapError