Skip to main content

sanitized_message

Function sanitized_message 

Source
pub fn sanitized_message(e: Error) -> String
Expand description

Produces a public-safe message from an owned error.

Its by-value signature adapts Error::sanitized_message for iterator and future combinators that consume their item. Sanitization behavior is identical to the method.