System\Classes\ErrorHandler

Source: ~/modules/system/classes/ErrorHandler.php

Extends:

System Error Handler, this class 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 ApplicationException, this event should be logged.

Parameters
  • $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.

Parameters
  • $exception

Show inherited public methods

Inherited public methods