Page MenuHomePhabricator
Diviner Phabricator Tech Docs AphrontRequestExceptionHandler

abstract class AphrontRequestExceptionHandler
Phabricator Technical Documentation (Aphront)

React to an unhandled exception escaping request handling in a controller and convert it into a response.

These handlers are generally used to render error pages, but they may also perform more specialized handling in situations where an error page is not appropriate.

Methods

abstract public function getRequestExceptionHandlerPriority()

This method is not documented.
Return
wild

abstract public function canHandleRequestThrowable($request, $throwable)

This method is not documented.
Parameters
AphrontRequest$request
$throwable
Return
wild

abstract public function handleRequestThrowable($request, $throwable)

This method is not documented.
Parameters
AphrontRequest$request
$throwable
Return
wild

final public static function getAllHandlers()

This method is not documented.
Return
wild