Copied!

InvalidArgumentException

InvalidArgumentException.php : 13

Invalid Argument Type Exception implementation.

Usage: throw new InvalidArgumentException( 'nodes', 'array' );

Methods

public__construct()

InvalidArgumentException.php : 28

Generates: "Argument '{$argumentName}' is invalid: {$whatIsWrong}".

public __construct(string $argumentName, string $whatIsWrong[, Exception|null $previous = null ])

Parameters

Name Type Default value Description
$argumentName string - -
$whatIsWrong string - -
$previous Exception|null null -