Invalid Argument Type Exception implementation.
Usage: throw new InvalidArgumentException( 'nodes', 'array' );
Methods¶
__construct()
¶
InvalidArgumentException.php
:
28
Generates: "Argument '{$argumentName}' is invalid: {$whatIsWrong}".
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $argumentName | string | - | - |
| $whatIsWrong | string | - | - |
| $previous | Exception|null | null | - |