PHP Class Gitamin\Exceptions\Handler

Inheritance: extends Illuminate\Foundation\Exceptions\Handler
ファイルを表示 Open project: gitaminhq/gitamin

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 ) : void 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 ) : void
$e Exception
return void

Property Details

$dontReport protected_oe property

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