[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 Signature: ```typescript constructor(msg?: string, ...nested: Array); ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | msg | string | | | nested | Array<Error> | |