[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [InvalidArgumentError](./js-utils.invalidargumenterror.md)
## InvalidArgumentError class
Error indicating that an invalid argument was passed to a function call.
Signature:
```typescript
export declare class InvalidArgumentError extends BaseError
```
Extends: BaseError
## Constructors
| Constructor | Modifiers | Description |
| --- | --- | --- |
| [(constructor)(msg, nested)](./js-utils.invalidargumenterror._constructor_.md) | | Constructs a new instance of the InvalidArgumentError
class |