22 lines
641 B
Markdown
22 lines
641 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [InvalidArgumentError](./js-utils.invalidargumenterror.md) > [(constructor)](./js-utils.invalidargumenterror._constructor_.md)
|
|
|
|
## InvalidArgumentError.(constructor)
|
|
|
|
Constructs a new instance of the `InvalidArgumentError` class
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
constructor(msg?: string, ...nested: Array<Error>);
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| msg | string | <i>(Optional)</i> |
|
|
| nested | Array<Error> | |
|
|
|