---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/validation/exceptions/interfaces/OrderingViolationException.md
description: A blocking ordering exception enriched with the complete violation list.
---

# Interface: OrderingViolationException

Defined in: [src/batteries/validation/exceptions.ts:30](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/batteries/validation/exceptions.ts#L30)

A blocking ordering exception enriched with the complete violation list.

## Extends

* [`BaseException`](../../../../factories/classes/BaseException.md)

## Properties

| Property                                      | Type                                                                                 | Description                                                                             | Inherited from                                                                                                                               | Defined in                                                                                                                                  |
| --------------------------------------------- | ------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
|  `code?`            | `string`                                                                             | Machine-readable error code for narrowing exception-handling logic.                     | [`BaseException`](../../../../factories/classes/BaseException.md).[`code`](../../../../factories/classes/BaseException.md#property-code)     | [src/lib/classes/base\_exception.ts:78](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/lib/classes/base_exception.ts#L78)           |
|  `fatal?`          | `boolean`                                                                            | When `true`, the ADK treats this error as unrecoverable and should halt the agent loop. | [`BaseException`](../../../../factories/classes/BaseException.md).[`fatal`](../../../../factories/classes/BaseException.md#property-fatal)   | [src/lib/classes/base\_exception.ts:88](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/lib/classes/base_exception.ts#L88)           |
|  `help?`            | `string`                                                                             | Human-readable guidance for resolving or reporting this error.                          | [`BaseException`](../../../../factories/classes/BaseException.md).[`help`](../../../../factories/classes/BaseException.md#property-help)     | [src/lib/classes/base\_exception.ts:73](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/lib/classes/base_exception.ts#L73)           |
|  `name`             | `string`                                                                             | Name of the class that raised the exception.                                            | [`BaseException`](../../../../factories/classes/BaseException.md).[`name`](../../../../factories/classes/BaseException.md#property-name)     | [src/lib/classes/base\_exception.ts:68](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/lib/classes/base_exception.ts#L68)           |
|  `status?`        | `number`                                                                             | HTTP status code associated with this error.                                            | [`BaseException`](../../../../factories/classes/BaseException.md).[`status`](../../../../factories/classes/BaseException.md#property-status) | [src/lib/classes/base\_exception.ts:83](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/lib/classes/base_exception.ts#L83)           |
|  `violations` | [`BlockingOrderingViolation`](../../types/interfaces/BlockingOrderingViolation.md)\[] | Blocking violations that caused the dispatch rejection.                                 | -                                                                                                                                            | [src/batteries/validation/exceptions.ts:32](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/batteries/validation/exceptions.ts#L32) |

## Accessors

### \[toStringTag]

#### Get Signature

```ts
get toStringTag: string;
```

Defined in: [src/lib/classes/base\_exception.ts:131](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/lib/classes/base_exception.ts#L131)

Tag used by `Object.prototype.toString` — reports the concrete exception class name.

##### Returns

`string`

#### Inherited from

[`BaseException`](../../../../factories/classes/BaseException.md).[`[toStringTag]`](../../../../factories/classes/BaseException.md#tostringtag)

## Methods

### toString()

```ts
toString(): string;
```

Defined in: [src/lib/classes/base\_exception.ts:135](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/lib/classes/base_exception.ts#L135)

Returns a string representation of an object.

#### Returns

`string`

#### Inherited from

[`BaseException`](../../../../factories/classes/BaseException.md).[`toString`](../../../../factories/classes/BaseException.md#tostring)
