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

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

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