public function handleError(\Error $e): Response
    {
        $this->logger->error(sprintf('%s in %s:%d', $e->getMessage(), $e->getFile(), $e->getLine()));
        return $this->providePhpErrorResponse($e);
    }