diff --git a/README.md b/README.md index bbcae2e..6feecec 100644 --- a/README.md +++ b/README.md @@ -1440,11 +1440,13 @@ BaseException +-- Exception # User-defined exceptions should be derived from this class. +-- ArithmeticError # Base class for arithmetic errors. | +-- ZeroDivisionError # Raised when dividing by zero. + +-- AssertionError # Raised by `assert ` if expression returns false value. +-- AttributeError # Raised when an attribute is missing. +-- EOFError # Raised by input() when it hits end-of-file condition. +-- LookupError # Raised when a look-up on a collection fails. | +-- IndexError # Raised when a sequence index is out of range. | +-- KeyError # Raised when a dictionary key or set element is missing. + +-- MemoryError # Out of memory. Could be too late to start deleting vars. +-- NameError # Raised when an object is missing. +-- OSError # Errors such as “file not found” or “disk full” (see Open). | +-- FileNotFoundError # When a file or directory is requested but doesn't exist. diff --git a/index.html b/index.html index 360a2d9..f335952 100644 --- a/index.html +++ b/index.html @@ -1236,11 +1236,13 @@ error_msg = ''.join(traceback.format_exception( └── Exception # User-defined exceptions should be derived from this class. ├── ArithmeticError # Base class for arithmetic errors. │ └── ZeroDivisionError # Raised when dividing by zero. + ├── AssertionError # Raised by `assert <exp>` if expression returns false value. ├── AttributeError # Raised when an attribute is missing. ├── EOFError # Raised by input() when it hits end-of-file condition. ├── LookupError # Raised when a look-up on a collection fails. │ ├── IndexError # Raised when a sequence index is out of range. │ └── KeyError # Raised when a dictionary key or set element is missing. + ├── MemoryError # Out of memory. Could be too late to start deleting vars. ├── NameError # Raised when an object is missing. ├── OSError # Errors such as “file not found” or “disk full” (see Open). │ └── FileNotFoundError # When a file or directory is requested but doesn't exist. diff --git a/parse.js b/parse.js index d4ecd75..6a35c5b 100755 --- a/parse.js +++ b/parse.js @@ -218,11 +218,13 @@ const DIAGRAM_7_B = " └── Exception # User-defined exceptions should be derived from this class.\n" + " ├── ArithmeticError # Base class for arithmetic errors.\n" + " │ └── ZeroDivisionError # Raised when dividing by zero.\n" + + " ├── AssertionError # Raised by `assert <exp>` if expression returns false value.\n" + " ├── AttributeError # Raised when an attribute is missing.\n" + " ├── EOFError # Raised by input() when it hits end-of-file condition.\n" + " ├── LookupError # Raised when a look-up on a collection fails.\n" + " │ ├── IndexError # Raised when a sequence index is out of range.\n" + " │ └── KeyError # Raised when a dictionary key or set element is missing.\n" + + " ├── MemoryError # Out of memory. Could be too late to start deleting vars.\n" + " ├── NameError # Raised when an object is missing.\n" + " ├── OSError # Errors such as “file not found” or “disk full” (see Open).\n" + " │ └── FileNotFoundError # When a file or directory is requested but doesn't exist.\n" +