pub trait ErrorExt: StackError {
// Required method
fn as_any(&self) -> &dyn Any;
// Provided methods
fn status_code(&self) -> StatusCode { ... }
fn output_msg(&self) -> String
where Self: Sized { ... }
fn root_cause(&self) -> Option<&dyn StdError>
where Self: Sized { ... }
}