php8.5
Home/ Manual/ reference / event/ The EventException class

The EventException class

A EventException is thrown when the Event extension methods encounter invalid user input or identify an unrecoverable error. This exception serves as a signal for developers to handle exceptional situations gracefully.

Intro

A EventException is thrown when the Event extension methods encounter invalid user input or identify an unrecoverable error. This exception serves as a signal for developers to handle exceptional situations gracefully.

Class synopsis

extends RuntimeException { }

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