Trait carapax::ErrorHandler
source · pub trait ErrorHandler: Send {
// Required method
fn handle(
&self,
err: HandlerError
) -> impl Future<Output = HandlerError> + Send;
}
Expand description
Allows to process errors returned by handlers.
Required Methods§
sourcefn handle(&self, err: HandlerError) -> impl Future<Output = HandlerError> + Send
fn handle(&self, err: HandlerError) -> impl Future<Output = HandlerError> + Send
Object Safety§
This trait is not object safe.