---
meta:
 - name: keywords
   description: api typescript node.js documentation PreconditionFailed class
---
# PreconditionFailed - @tsed/exceptions

## Usage

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

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

## Overview

```ts
class PreconditionFailed extends ClientException {
    static readonly STATUS = 412;
    constructor(message: string, origin?: Error | string | any);
}
```

<!-- Members -->

## static readonly STATUS

```ts
static readonly STATUS = 412;
```
