PHP 클래스 REBELinBLUE\Deployer\Exceptions\Handler

상속: extends Illuminate\Foundation\Exceptions\Handler
파일 보기 프로젝트 열기: rebelinblue/deployer

보호된 프로퍼티들

프로퍼티 타입 설명
$dontReport array A list of the exception types that should not be reported.

공개 메소드들

메소드 설명
render ( Illuminate\Http\Request $request, Exception $exception ) : Illuminate\Http\Response Render an exception into an HTTP response.
report ( Exception $exception ) Report or log an exception.

보호된 메소드들

메소드 설명
isSafeToWhoops ( Exception $exception ) : boolean Don't allow the exceptions which laravel handles specially to be converted to Whoops This is horrible though, see if we can find a better way to do it.
renderExceptionWithWhoops ( Illuminate\Http\Request $request, Exception $exception ) : Illuminate\Http\Response Render an exception using Whoops.

메소드 상세

isSafeToWhoops() 보호된 메소드

GrahamCampbell/Laravel-Exceptions unfortunately doesn't return JSON for whoops pages which are from AJAX.
protected isSafeToWhoops ( Exception $exception ) : boolean
$exception Exception
리턴 boolean

render() 공개 메소드

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

renderExceptionWithWhoops() 보호된 메소드

Render an exception using Whoops.
protected renderExceptionWithWhoops ( Illuminate\Http\Request $request, Exception $exception ) : Illuminate\Http\Response
$request Illuminate\Http\Request
$exception Exception
리턴 Illuminate\Http\Response

report() 공개 메소드

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

프로퍼티 상세

$dontReport 보호되어 있는 프로퍼티

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