save()) { throw new \RuntimeException('Saving error.'); } } public function remove(Page $page): void { if (!$page->delete()) { throw new \RuntimeException('Removing error.'); } } }