php8.5
Home/ Manual/ reference / spl/ Exceptions

Exceptions

SPL provides a set of standard Exceptions.

SPL provides a set of standard Exceptions.

SPL Exceptions Class Tree

  • LogicException (extends Exception)

    • BadFunctionCallException

      • BadMethodCallException
    • DomainException
    • InvalidArgumentException
    • LengthException
    • OutOfRangeException
  • RuntimeException (extends Exception)

    • OutOfBoundsException
    • OverflowException
    • RangeException
    • UnderflowException
    • UnexpectedValueException

See Also

Badfunctioncallexception Badmethodcallexception Domainexception Invalidargumentexception Lengthexception Logicexception Outofboundsexception Outofrangeexception Overflowexception Rangeexception Runtimeexception Underflowexception Unexpectedvalueexception

Source: reference/spl/exceptions.xml · from the official PHP manual (php/doc-en)