src/Viserio/Component/HttpFoundation/Kernel.php
protected function reportException(Throwable $exception): void
    {
        $container = $this->getContainer();

        if ($container->has(HttpHandlerContract::class)) {
            $container->get(HttpHandlerContract::class)->report($exception);
        }
    }
protected function reportException(Throwable $exception): void
    {
        $container = $this->getContainer();

        if ($container->has(HttpHandlerContract::class)) {
            $container->get(HttpHandlerContract::class)->report($exception);
        }
    }
Report the exception to the exception handler.

@param \Throwable $exception

@return void