---
url: /api/specs/ajv/types/interfaces/interface-ajv-error-object.md
description: api documentation of AjvErrorObject from @tsed/ajv
---

## Usage

```typescript
import { AjvErrorObject } from "@tsed/ajv";
```

> See [/packages/specs/ajv/src/interfaces/AjvSettings.ts](https://github.com/tsedio/tsed/blob/v8.38.5/packages/specs/ajv/src/interfaces/AjvSettings.ts#L0-L0).

## Overview

```ts
interface AjvErrorObject extends ErrorObject {
    modelName: string;
    collectionName?: string;
}
```

## modelName

```ts
modelName: string;
```

## collectionName

```ts
collectionName?: string;
```
