{ "cells": [ { "cell_type": "markdown", "metadata": { "button": false, "new_sheet": false, "run_control": { "read_only": false }, "slideshow": { "slide_type": "slide" } }, "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 }, "slideshow": { "slide_type": "slide" } }, "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", "
    \n", " <__STRUCTURED_ALL_CHAPTERS_MENU__>\n", "
" ] }, { "cell_type": "markdown", "metadata": { "button": false, "new_sheet": false, "run_control": { "read_only": false }, "slideshow": { "slide_type": "fragment" } }, "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 }, "slideshow": { "slide_type": "slide" } }, "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, follow us on Mastodon.\n", "\n", "" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "subslide" } }, "source": [ "\n", "\n", "
\n", "
\n", "
\n", "
\n", "
" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "## Error Details" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "execution": { "iopub.execute_input": "2024-04-27T14:00:17.270881Z", "iopub.status.busy": "2024-04-27T14:00:17.270450Z", "iopub.status.idle": "2024-04-27T14:00:17.323886Z", "shell.execute_reply": "2024-04-27T14:00:17.322590Z" }, "slideshow": { "slide_type": "skip" } }, "outputs": [], "source": [ "import bookutils.setup" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "execution": { "iopub.execute_input": "2024-04-27T14:00:17.327833Z", "iopub.status.busy": "2024-04-27T14:00:17.327403Z", "iopub.status.idle": "2024-04-27T14:00:17.332038Z", "shell.execute_reply": "2024-04-27T14:00:17.331107Z" }, "slideshow": { "slide_type": "fragment" } }, "outputs": [], "source": [ "class NotFoundError(Exception):\n", " def __init__(self, value=\"404\"):\n", " self.value = value\n", "\n", " def __str__(self):\n", " return repr(self.value)" ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "execution": { "iopub.execute_input": "2024-04-27T14:00:17.335030Z", "iopub.status.busy": "2024-04-27T14:00:17.334826Z", "iopub.status.idle": "2024-04-27T14:00:17.366622Z", "shell.execute_reply": "2024-04-27T14:00:17.366212Z" }, "slideshow": { "slide_type": "skip" } }, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "Traceback (most recent call last):\n", " File \"/var/folders/n2/xd9445p97rb3xh7m1dfx8_4h0006ts/T/ipykernel_71803/1830731544.py\", line 4, in \n", " raise NotFoundError\n", "NotFoundError: '404' (expected)\n" ] } ], "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.10.2" }, "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": 2 }