Struct myerror::MyError [] [src]

pub struct MyError {
    pub file: &'static str,
    pub line: u32,
    pub statement: String,
    pub description: String,
    pub cause: Option<Box<Error>>,
}

Fields

Trait Implementations

impl Debug for MyError
[src]

Formats the value using the given formatter.

impl Display for MyError
[src]

Formats the value using the given formatter. Read more

impl Error for MyError
[src]

A short description of the error. Read more

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

impl<'a> From<&'a str> for MyError
[src]

Performs the conversion.