Skip to main content
Module

x/oak_nest/mod.ts>UnsupportedMediaTypeException

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
class UnsupportedMediaTypeException
extends HttpException
import { UnsupportedMediaTypeException } from "https://deno.land/x/oak_nest@v3.0.1/mod.ts";

Instantiate an UnsupportedMediaTypeException Exception.

Examples

throw new UnsupportedMediaTypeException()

Constructors

new
UnsupportedMediaTypeException(
objectOrError: any,
description?,
cause?: unknown,
)