Direct known subclasses:
BadFunctionCallException, DomainException, InvalidArgumentException, LengthException, OutOfRangeException
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
Exception that represents error in the program logic. This kind of exception should lead directly to a fix in your code.
$message
= NULL
, int $code
= ?
, Throwable $previous
= null
)
Direct known subclasses:
BadFunctionCallException, DomainException, InvalidArgumentException, LengthException, OutOfRangeException