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

pub fn ErrorUnauthorized<T>(err: T) -> InternalError<T>

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