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

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

## MultiError.(constructor)

Constructs a new instance of the `MultiError` class

**Signature:**

```typescript
constructor(
    errors: T[]);
```

## Parameters

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

Parameter


</th><th>

Type


</th><th>

Description


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

errors


</td><td>

T\[\]


</td><td>


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