pub trait ErrorContextExt {
// Required method
fn context_sentinel(self, context: ErrorContext) -> SentinelError;
}Expand description
Extension trait for adding context to errors
Required Methods§
Sourcefn context_sentinel(self, context: ErrorContext) -> SentinelError
fn context_sentinel(self, context: ErrorContext) -> SentinelError
Add Sentinel-specific context to the error