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
[src]
fn error_response(&self, req: &HttpRequest) -> HttpResponse
[src]Generate response for error container
Implementors
impl ErrorContainer for Error
[src]
impl ErrorContainer for Error
[src]