2020-03-29 13:43:52 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [TimeoutError](./js-utils.timeouterror.md) > [(constructor)](./js-utils.timeouterror._constructor_.md)
|
|
|
|
|
|
|
|
## TimeoutError.(constructor)
|
|
|
|
|
|
|
|
Constructs a new instance of the `TimeoutError` class
|
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
constructor(msg?: string, ...nested: Array<Error>);
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2020-06-29 23:23:16 +00:00
|
|
|
| msg | string | |
|
|
|
|
| nested | Array<Error> | |
|
2020-03-29 13:43:52 +00:00
|
|
|
|