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

# PayloadTooLargeError

> Class exported by @botmesh/core.

Defined in: [core/provider.ts:767](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L767)

Payload exceeds a transport limit (Telegram 4096 chars, media ceilings).

## Extends

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

## Extended by

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

## Constructors

### Constructor

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

Defined in: [core/provider.ts:768](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L768)

#### Parameters

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

#### Returns

`PayloadTooLargeError`

#### Overrides

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


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