Skip to content

Exceptions

Documentation link

Exception is the base class for all Exceptions in PHP 5, and the base class for all user exceptions in PHP 7.

Before PHP 7, Exception did not implement the Throwable interface.

Here is a link that also explains exception inheritance.