# ZaunValidationError

Defined in: [sdk/js/src/errors.ts:39](https://github.com/zaunchat/zaun-bot/blob/main/sdk/js/src/errors.ts#L39)

A builder or message breaks a protocol limit; thrown before anything reaches the host.

## Extends

- `Error`

## Constructors

### Constructor

> **new ZaunValidationError**(`field`, `message`): `ZaunValidationError`

Defined in: [sdk/js/src/errors.ts:43](https://github.com/zaunchat/zaun-bot/blob/main/sdk/js/src/errors.ts#L43)

#### Parameters

##### field

`string`

##### message

`string`

#### Returns

`ZaunValidationError`

#### Overrides

`Error.constructor`

## Properties

### field

> `readonly` **field**: `string`

Defined in: [sdk/js/src/errors.ts:41](https://github.com/zaunchat/zaun-bot/blob/main/sdk/js/src/errors.ts#L41)

The field at fault, dotted (`components.custom_id`).
