ErrorHandler handles application exception events

Protected properties

There are no protected properties in the class.

Show inherited protected properties

Inherited protected properties

Public methods

public void beforeHandleError($exception)

We are about to display an error page to the user, if it is an SystemException, this event should be logged.

  • $exception

public mixed handleCustomError()

Looks up an error page using the CMS route "/error". If the route does not exist, this function will use the error view found in the Cms module.

public View handleDetailedError($exception)

Displays the detailed system exception page.

  • $exception

Show inherited public methods

Inherited public methods