pub trait ExceptionTraitConst {
// Required method
fn as_raw_Exception(&self) -> *const c_void;
// Provided methods
fn msg(&self) -> String { ... }
fn code(&self) -> i32 { ... }
fn err(&self) -> String { ... }
fn func(&self) -> String { ... }
fn file(&self) -> String { ... }
fn line(&self) -> i32 { ... }
fn what(&self) -> String { ... }
}
Expand description
Constant methods for core::Exception