Function actix_web::error::ErrorUnavailableForLegalReasons
source · pub fn ErrorUnavailableForLegalReasons<T>(err: T) -> Errorwhere
T: Debug + Display + 'static,
Expand description
Helper function that wraps any error and generates a UNAVAILABLE_FOR_LEGAL_REASONS
response.