pub trait ErrorContext {
// Required method
fn with_context(&self, operation: &str) -> String;
}
Expand description
Trait for generating consistent error messages across the codebase.
Required Methods§
Sourcefn with_context(&self, operation: &str) -> String
fn with_context(&self, operation: &str) -> String
Generate a standardized error message with context.