/** * @inherit */ public function handleError(\R3H6\Error404page\Domain\Model\Error $error) { $errorPage = $this->pageRepository->find404PageForError($error); if ($errorPage !== null) { $this->output = $this->httpService->readUrl($errorPage->getUrl()); if ($this->output) { $this->cacheTags[] = 'pageId_' . $errorPage->getUid(); return true; } } return false; }