Trait user_facing_errors::UserFacingError
source · pub trait UserFacingError: Serialize {
const ERROR_CODE: &'static str;
// Required method
fn message(&self) -> String;
}
Required Associated Constants§
const ERROR_CODE: &'static str
Required Methods§
Object Safety§
This trait is not object safe.