Struct clap_builder::error::RichFormatter
source · #[non_exhaustive]pub struct RichFormatter;
Expand description
Richly formatted error context
This follows the rustc diagnostic style guide.
Trait Implementations§
source§impl ErrorFormatter for RichFormatter
impl ErrorFormatter for RichFormatter
source§fn format_error(error: &Error<Self>) -> StyledStr
fn format_error(error: &Error<Self>) -> StyledStr
Stylize the error for the terminal