Handler
class Handler implements ExceptionHandler
Properties
protected Container | $container | The container implementation. |
|
protected array | $dontReport | A list of the exception types that should not be reported. |
Methods
Create a response object from the given validation exception.
Render the given HttpException.
Map the given exception into an Illuminate response.
Details
at line 46
void
__construct(Container $container)
Create a new exception handler instance.
at line 59
void
report(Exception $e)
Report or log an exception.
at line 80
bool
shouldReport(Exception $e)
Determine if the exception should be reported.
at line 91
protected bool
shouldntReport(Exception $e)
Determine if the exception is in the "do not report" list.
at line 146
protected Response
convertValidationExceptionToResponse(ValidationException $e, Request $request)
Create a response object from the given validation exception.
at line 170
protected Response
prepareResponse(Request $request, Exception $e)
Prepare response containing exception render.
at line 185
protected Response
renderHttpException(HttpException $e)
Render the given HttpException.
at line 207
protected Response
convertExceptionToResponse(Exception $e)
Create a Symfony response for the given exception.
at line 223
protected Response
toIlluminateResponse(Response $response, Exception $e)
Map the given exception into an Illuminate response.
at line 241
void
renderForConsole(OutputInterface $output, Exception $e)
Render an exception to the console.
at line 252
protected bool
isHttpException(Exception $e)
Determine if the given exception is an HTTP exception.