pub trait IntoResponseError {
    type Err: Debug + Send + 'static;

    // Required methods
    fn into_response_error(self) -> Result<Response, Self::Err>;
    fn status_codes() -> Vec<StatusCode>;
    fn schema(code: StatusCode) -> OpenapiSchema;
}

Required Associated Types§

source

type Err: Debug + Send + 'static

Required Methods§

Implementors§