class ArgumentException extends ReactorException

Argument exception.

Properties

protected string $name Argument name.

Methods

__construct(string $message, string $name, int $code = 0, Throwable|null $previous = null)

Constructor.

string
getName()

Returns the name of the missing argument.

Details

at line 34
__construct(string $message, string $name, int $code = 0, Throwable|null $previous = null)

Constructor.

Parameters

string $message The Exception message to throw
string $name Argument name
int $code The Exception code
Throwable|null $previous The previous exception used for the exception chaining

at line 46
string getName()

Returns the name of the missing argument.

Return Value

string