pub trait UserFriendlyError {
// Required methods
fn to_user_message(&self) -> String;
fn error_category(&self) -> ErrorCategory;
}Expand description
Trait for creating user-friendly error messages from MetisError
Required Methods§
Sourcefn to_user_message(&self) -> String
fn to_user_message(&self) -> String
Convert to a user-friendly error message
Sourcefn error_category(&self) -> ErrorCategory
fn error_category(&self) -> ErrorCategory
Get error category for UI display
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".