class ExceptionHandler

Displays the custom error page when an uncaught exception occurs.

Methods

static  void
render( Exception|Throwable $error)

Render the error page based on an exception.

Details

static void render( Exception|Throwable $error)

Render the error page based on an exception.

Parameters

Exception|Throwable $error An Exception or Throwable (PHP 7+) object for which to render the error page.

Return Value

void