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