Struct clap::error::KindFormatter
source · #[non_exhaustive]pub struct KindFormatter;
Expand description
Report ErrorKind
No context is included.
NOTE: Consider removing the [error-context
][crate::_features] default feature if using this to remove all
overhead for RichFormatter
.
Trait Implementations§
source§impl ErrorFormatter for KindFormatter
impl ErrorFormatter for KindFormatter
source§fn format_error(error: &Error<Self>) -> StyledStr
fn format_error(error: &Error<Self>) -> StyledStr
Stylize the error for the terminal