[][src]Trait ntex::web::error::ErrorContainer

pub trait ErrorContainer: ResponseError + Sized {
    pub fn error_response(&self, req: &HttpRequest) -> HttpResponse;
}

Required methods

pub fn error_response(&self, req: &HttpRequest) -> HttpResponse[src]

Generate response for error container

Loading content...

Implementors

impl ErrorContainer for Error[src]

Loading content...