error_support

Function convert_log_report_error

source
pub fn convert_log_report_error<IE, EE>(e: IE) -> EE
where IE: GetErrorHandling<ExternalError = EE> + Error, EE: Error,
Expand description

Handle the specified “internal” error, taking any logging or error reporting actions and converting the error to the public error. Called by our handle_error macro so needs to be public.