Function actix_web::error::ErrorForbidden[][src]

pub fn ErrorForbidden<T>(err: T) -> Error where
    T: Debug + Display + 'static, 

Helper function that wraps any error and generates a FORBIDDEN response.