for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Exceptions;
use Exception;
use Symfony\Component\HttpKernel\Exception\HttpException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
/**
* Class Handler
* @package App\Exceptions
*/
class Handler extends ExceptionHandler
{
* A list of the exception types that should not be reported.
*
* @var array
protected $dontReport = [
HttpException::class,
];
* Report or log an exception.
* This is a great spot to send exceptions to Sentry, Bugsnag, etc
* @param Exception $exception
* @internal param Exception $e
public function report(Exception $exception)
return parent::report($exception);
}
* Render an exception into an HTTP response.
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
public function render($request, Exception $exception)
return parent::render($request, $exception);