pub trait Exception: Error {
// Required methods
fn code(&self) -> u32;
fn msg(&self) -> &str;
fn level(&self) -> ExceptionLevel;
fn set_code(&mut self, code: u32);
fn set_msg(&mut self, msg: &str);
fn set_level(&mut self, level: ExceptionLevel);
fn get_type(&self) -> Exceptions;
fn timestamp(&self) -> Duration;
}