pub trait ErrorFormatter: Send { // Required method fn format_error(&self, error: &Error, shell: &Shell) -> String; }
Trait implementable by consumers of this crate to customize formatting errors into displayable text.
Format the given error for display within the context of the provided shell.
error
shell