pub trait ErrorDiagnostic: Error + 'static {
type Kind: ErrorKind;
// Required method
fn kind(&self) -> Self::Kind;
// Provided methods
fn service(&self) -> Option<&'static str> { ... }
fn is_service(&self) -> bool { ... }
fn signature(&self) -> &'static str { ... }
fn backtrace(&self) -> Option<&Backtrace> { ... }
fn chain(self) -> ErrorChain<Self::Kind>
where Self: Sized { ... }
}Required Associated Types§
Required Methods§
Provided Methods§
Sourcefn is_service(&self) -> bool
fn is_service(&self) -> bool
Check if error is service related