> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# ChaosDisconnectedError

> Class exported by @botmesh/core/testing.

Defined in: [testing/chaos.ts:312](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/chaos.ts#L312)

Rejected by [ChaosProvider.send](https://botmesh.afaya.com.co/api/core/testing/classes/ChaosProvider.md#send) while the simulated connection is down
(or for the `'disconnected'` failure kind). A `ProviderError`, like the
errors real providers reject with.

## Extends

* [`ProviderError`](https://botmesh.afaya.com.co/api/core/classes/ProviderError)

## Constructors

### Constructor

```ts theme={null}
new ChaosDisconnectedError(chatId, message?): ChaosDisconnectedError;
```

Defined in: [testing/chaos.ts:313](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/chaos.ts#L313)

#### Parameters

| Parameter | Type |
| - | - |
| `chatId` | `string` |
| `message?` | `string` |

#### Returns

`ChaosDisconnectedError`

#### Overrides

[`ProviderError`](https://botmesh.afaya.com.co/api/core/classes/ProviderError).[`constructor`](https://botmesh.afaya.com.co/api/core/classes/ProviderError#constructor)

## Properties

### chatId

```ts theme={null}
readonly chatId: string;
```

Defined in: [testing/chaos.ts:313](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/chaos.ts#L313)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.