PHP Class Fungku\Kwiki\Exceptions\Handler

Inheritance: extends Laravel\Lumen\Exceptions\Handler
Mostra file Open project: fungku/kwiki

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