pub trait ErrorHandler<B>: Send + Sync { // Required method fn map_error(&self, error: AuthError) -> Response<B>; }