InvalidArgumentException (class)
The InvalidArgumentException class
Introduction
(PHP 5 >= 5.1.0, PHP 7)
Exception thrown if an argument is not of the expected type.
(PHP 5 >= 5.1.0, PHP 7)
Exception thrown if an argument is not of the expected type.