Skip to main content

error_category

Function error_category 

Source
pub fn error_category(error: &Error) -> &'static str
Expand description

Return only a fixed category suitable for CLI output. Never propagate RPC error text, which may include private transport or authorization details.