Open beeyev opened 1 year ago
@beeyev you are right. you have to use this code in Handler.php instead :
public function register(): void { $this->renderable(function (Throwable $ex, $request) { return ExceptionHandlerHelper::render($request, $ex); }); }
The documentation has incorrect implementation of exception handler. Here
there is no
handle
method inExceptionHandlerHelper