PHP Class Owl\Exceptions\Handler

Inheritance: extends Illuminate\Foundation\Exceptions\Handler
Show file Open project: owl/owl

Protected Properties

Property Type Description
$dontReport array A list of the exception types that should not be reported.

Public Methods

Method Description
render ( Illuminate\Http\Request $request, Exception $e ) : Illuminate\Http\Response Render an exception into an HTTP response.
report ( Exception $e ) Report or log an exception.

Method Details

render() public method

Render an exception into an HTTP response.
public render ( Illuminate\Http\Request $request, Exception $e ) : Illuminate\Http\Response
$request Illuminate\Http\Request
$e Exception
return Illuminate\Http\Response

report() public method

This is a great spot to send exceptions to Sentry, Bugsnag, etc.
public report ( Exception $e )
$e Exception

Property Details

$dontReport protected property

A list of the exception types that should not be reported.
protected array $dontReport
return array