UnsupportedMediaType
@tsed/exceptions
Usage
typescript
import { UnsupportedMediaType } from "@tsed/exceptions";
See /packages/specs/exceptions/src/types/clientErrors/UnsupportedMediaType.ts.
Overview
ts
class UnsupportedMediaType extends ClientException {
static readonly STATUS = 415;
constructor(message: string, origin?: Error | string | any);
}
static readonly STATUS
ts
static readonly STATUS = 415;