new InvalidArgumentException(error)
Create a new InvalidArgumentException to report invalid or inconsistent
arguments.
Call with: throw new InvalidArgumentException(new Error("message")).
Parameters:
Name | Type | Description |
---|---|---|
error |
Error | The exception created with new Error. |
- Source: