pub trait HttpErrorMapper: Send + Sync {
// Required method
fn map_error(&self, error: &SoapError) -> HttpErrorResponse;
}Expand description
Maps application errors into safe HTTP responses.
Required Methods§
Sourcefn map_error(&self, error: &SoapError) -> HttpErrorResponse
fn map_error(&self, error: &SoapError) -> HttpErrorResponse
Maps one error without exposing its technical source chain.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".