pub trait ErrorMapper: Clone + Send + 'static {
    fn map_error<'async_trait>(
        self,
        error: BoxError,
        request_id: Option<RequestId>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Body>, BoxError>> + Send + 'async_trait>>
    where
        Self: 'async_trait
; }

Required Methods

Implementors