{ "cells": [ { "attachments": {}, "cell_type": "markdown", "metadata": { "button": false, "new_sheet": false, "run_control": { "read_only": false } }, "source": [ "# Oh, no! We are not ready yet!\n", "\n", "We're sorry - this page does not exist (yet)." ] }, { "cell_type": "markdown", "metadata": { "button": false, "new_sheet": false, "run_control": { "read_only": false } }, "source": [ "## Finding Content\n", "\n", "Most likely, you have been looking for material that is not yet written or not yet published. Go to the [home page](__SITE_HTML__) or choose from this list of chapters:\n", "\n", "<ol start=\"0\">\n", " <__STRUCTURED_ALL_CHAPTERS_MENU__>\n", "</ol>" ] }, { "cell_type": "markdown", "metadata": { "button": false, "new_sheet": false, "run_control": { "read_only": false } }, "source": [ "If you think this is an error, please [report an issue](__GITHUB_HTML__/issues/)." ] }, { "cell_type": "markdown", "metadata": { "button": false, "new_sheet": false, "run_control": { "read_only": false } }, "source": [ "## Getting Informed About New Content\n", "\n", "New chapters are coming out every week. To get notified when a new chapter (or this one) comes out, <a href=\"https://mastodon.social/@TheDebuggingBook\">follow us on Mastodon</a>.\n", "\n", "<!--\n", "<iframe allowfullscreen sandbox=\"allow-top-navigation allow-scripts allow-popups allow-popups-to-escape-sandbox\" width=\"400\" height=\"400\" frameBorder=\"0\" src=\"https://mastofeed.com/apiv2/feed?userurl=https%3A%2F%2Fmastodon.social%2Fusers%2FTheDebuggingBook&theme=auto&size=100&header=false&replies=false&boosts=false\"></iframe>\n", "-->" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "<link rel=\"stylesheet\" href=\"/html/mastodon-timeline.css\" />\n", "<script src=\"/html/mastodon-timeline.js\"></script>\n", "<div class=\"mt-timeline\">\n", " <div id=\"mt-body\" class=\"mt-body\" role=\"feed\">\n", " <div class=\"loading-spinner\"></div>\n", " </div>\n", "</div>" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Error Details" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "import bookutils.setup" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "class NotFoundError(Exception):\n", " def __init__(self, value: str = \"404\") -> None:\n", " self.value = value\n", "\n", " def __str__(self) -> str:\n", " return repr(self.value)" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "from ExpectError import ExpectError\n", "\n", "with ExpectError():\n", " raise NotFoundError" ] } ], "metadata": { "ipub": { "bibliography": "fuzzingbook.bib", "toc": true }, "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.11.6" }, "toc": { "base_numbering": 1, "nav_menu": {}, "number_sections": true, "sideBar": true, "skip_h1_title": true, "title_cell": "", "title_sidebar": "Contents", "toc_cell": false, "toc_position": {}, "toc_section_display": true, "toc_window_display": true }, "toc-autonumbering": false }, "nbformat": 4, "nbformat_minor": 4 }