interface ExceptionHandler (View source)

Methods

void
report(Throwable $e)

Report or log an exception.

bool
shouldReport(Throwable $e)

Determine if the exception should be reported.

Response
render(Request $request, Throwable $e)

Render an exception into an HTTP response.

void
renderForConsole(OutputInterface $output, Throwable $e)

Render an exception to the console.

bool
isReporting(Throwable $e)

No description

array
buildContextForException()

No description

Details

void report(Throwable $e)

Report or log an exception.

Parameters

Throwable $e

Return Value

void

Exceptions

Throwable

bool shouldReport(Throwable $e)

Determine if the exception should be reported.

Parameters

Throwable $e

Return Value

bool

Response render(Request $request, Throwable $e)

Render an exception into an HTTP response.

Parameters

Request $request
Throwable $e

Return Value

Response

Exceptions

Throwable

void renderForConsole(OutputInterface $output, Throwable $e)

internal  This method is not meant to be used or overwritten outside the framework.
 

Render an exception to the console.

Parameters

OutputInterface $output
Throwable $e

Return Value

void

bool isReporting(Throwable $e)

No description

Parameters

Throwable $e

Return Value

bool

array buildContextForException()

No description

Return Value

array