---
url: /api/specs/exceptions/types/clientErrors/class-unsupported-media-type.md
description: api documentation of UnsupportedMediaType from @tsed/exceptions
---

## Usage

```typescript
import { UnsupportedMediaType } from "@tsed/exceptions";
```

> See [/packages/specs/exceptions/src/clientErrors/UnsupportedMediaType.ts](https://github.com/tsedio/tsed/blob/v8.38.2/packages/specs/exceptions/src/clientErrors/UnsupportedMediaType.ts#L0-L0).

## 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;
```
