Trait epitaph::DetailedError
[−]
[src]
pub trait DetailedError: Error { type Kind; fn new(
kind: Self::Kind,
cause: Option<Box<Error + Send + Sync>>,
desc: String,
file: &'static str,
line: u32
) -> Self; fn kind(&self) -> &Self::Kind; fn trace(&self) -> &[(&'static str, u32)]; }
Associated Types
type Kind
Required Methods
fn new(
kind: Self::Kind,
cause: Option<Box<Error + Send + Sync>>,
desc: String,
file: &'static str,
line: u32
) -> Self
kind: Self::Kind,
cause: Option<Box<Error + Send + Sync>>,
desc: String,
file: &'static str,
line: u32
) -> Self