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

[Home](./index.md) &gt; [motion-sdk](./motion-sdk.md) &gt; [LimiterError](./motion-sdk.limitererror.md) &gt; [(constructor)](./motion-sdk.limitererror._constructor_.md)

## LimiterError.(constructor)

Constructs a new instance of the `LimiterError` class

**Signature:**

```typescript
constructor(
    limiter: RateLimiterAbstract, 
    cause: unknown, 
    attemptedKey?: string | number | undefined);
```

## Parameters

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

Parameter


</th><th>

Type


</th><th>

Description


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

limiter


</td><td>

RateLimiterAbstract


</td><td>


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

cause


</td><td>

unknown


</td><td>


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

attemptedKey


</td><td>

string \| number \| undefined


</td><td>

_(Optional)_


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