for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Exceptions;
use Throwable;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
class Handler extends ExceptionHandler
{
// use Throwable - you should NOT import Throwable class as a trait here. You need to just import it above the class
public function report(Throwable $exception)
parent::report($exception);
}
public function render($request, Throwable $exception)
return parent::render($request, $exception);