<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [motion-sdk](./motion-sdk.md) &gt; [QueueOverflowError](./motion-sdk.queueoverflowerror.md)

## QueueOverflowError class

Too many waiting requests already.

**Signature:**

```typescript
export declare class QueueOverflowError extends Error implements MotionError 
```
**Extends:** Error

**Implements:** [MotionError](./motion-sdk.motionerror.md)

## Remarks

See [isQueueOverflowError()](./motion-sdk.isqueueoverflowerror.md) for a built-in way to identify [QueueOverflowError](./motion-sdk.queueoverflowerror.md) objects.

## Constructors

<table><thead><tr><th>

Constructor


</th><th>

Modifiers


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[(constructor)(queue, cause, attemptedKey)](./motion-sdk.queueoverflowerror._constructor_.md)


</td><td>


</td><td>

Constructs a new instance of the `QueueOverflowError` class


</td></tr>
</tbody></table>

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[attemptedKey](./motion-sdk.queueoverflowerror.attemptedkey.md)


</td><td>

`readonly`


</td><td>

string \| number


</td><td>

The rate limiter key that was attempted.


</td></tr>
<tr><td>

[cause](./motion-sdk.queueoverflowerror.cause.md)


</td><td>

`readonly`


</td><td>

RateLimiterQueueError


</td><td>

The overflow error from the underlying framework.


</td></tr>
<tr><td>

[errorType](./motion-sdk.queueoverflowerror.errortype.md)


</td><td>


</td><td>

typeof [queueOverflowErrorType](./motion-sdk.queueoverflowerrortype.md)


</td><td>

Indicates the class of the error.


</td></tr>
<tr><td>

[queue](./motion-sdk.queueoverflowerror.queue.md)


</td><td>

`readonly`


</td><td>

RateLimiterQueue


</td><td>

The overflowing queue.


</td></tr>
</tbody></table>
