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
file: &'static str
line: u32
statement: String
description: String
cause: Option<Box<Error>>
Trait Implementations
impl Debug for MyError
[src]
impl Display for MyError
[src]
impl Error for MyError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more