Function actix_web::error::ErrorUnsupportedMediaType
source · pub fn ErrorUnsupportedMediaType<T>(err: T) -> Errorwhere
T: Send + Sync + Debug + Display + 'static,
Expand description
Helper function that creates wrapper of any error and generate UNSUPPORTED MEDIA TYPE response.