> ## 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.

# TimeoutError

> Class exported by @botmesh/core.

Defined in: [utils/timers.ts:78](https://github.com/andresayac/botmesh/blob/main/packages/core/src/utils/timers.ts#L78)

Race a promise against a timeout — rejects with `TimeoutError` if exceeded.

## Extends

* `Error`

## Constructors

### Constructor

```ts theme={null}
new TimeoutError(message?): TimeoutError;
```

Defined in: [utils/timers.ts:79](https://github.com/andresayac/botmesh/blob/main/packages/core/src/utils/timers.ts#L79)

#### Parameters

| Parameter | Type | Default value |
| - | - | - |
| `message?` | `string` | `'Operation timed out'` |

#### Returns

`TimeoutError`

#### Overrides

`Error.constructor`


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