Trait ntex::web::error::ErrorContainer [−][src]
pub trait ErrorContainer: ResponseError + Sized {
fn error_response(&self, req: &HttpRequest) -> HttpResponse;
}
Required methods
fn error_response(&self, req: &HttpRequest) -> HttpResponse
fn error_response(&self, req: &HttpRequest) -> HttpResponse
Generate response for error container