Function actix_web::error::ErrorUnauthorized[][src]

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

Helper function that creates wrapper of any error and generate UNAUTHORIZED response.