<!-- 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) &gt; [(constructor)](./motion-sdk.queueoverflowerror._constructor_.md)

## QueueOverflowError.(constructor)

Constructs a new instance of the `QueueOverflowError` class

**Signature:**

```typescript
constructor(
    queue: RateLimiterQueue, 
    cause: RateLimiterQueueError, 
    attemptedKey: string | number);
```

## Parameters

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

Parameter


</th><th>

Type


</th><th>

Description


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

queue


</td><td>

RateLimiterQueue


</td><td>


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

cause


</td><td>

RateLimiterQueueError


</td><td>


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

attemptedKey


</td><td>

string \| number


</td><td>


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