<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [sip.js](./sip.js.md) &gt; [StateTransitionError](./sip.js.statetransitionerror.md) &gt; [(constructor)](./sip.js.statetransitionerror._constructor_.md)

## StateTransitionError.(constructor)

Constructs a new instance of the `StateTransitionError` class

<b>Signature:</b>

```typescript
constructor(message?: string);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  message | <code>string</code> |  |

