Lists of Throwable and Exception tree as of 7.2.0 Error ArithmeticError DivisionByZeroError AssertionError ParseError TypeError ArgumentCountError Exception ClosedGeneratorException DOMException ErrorException IntlException LogicException BadFunctionCallException BadMethodCallException DomainException InvalidArgumentException LengthException OutOfRangeException PharException ReflectionException RuntimeException OutOfBoundsException OverflowException PDOException RangeException UnderflowException UnexpectedValueException SodiumException Find the script and output in the following links:https://gist.github.com/mlocati/249f07b074a0de339d4d1ca980848e6ahttps://3v4l.org/sDMsvposted here http://php.net/manual/en/class.throwable.php