From 14d31c1ca8701f05f0f7d4243491689a2d3d9f4c Mon Sep 17 00:00:00 2001 From: Jan Buchar Date: Mon, 6 Aug 2018 01:08:05 +0200 Subject: [PATCH] Updated Exit Code Mappings (markdown) --- Exit-Code-Mappings.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Exit-Code-Mappings.md b/Exit-Code-Mappings.md index a086487..453ff07 100644 --- a/Exit-Code-Mappings.md +++ b/Exit-Code-Mappings.md @@ -58,17 +58,17 @@ Runner: https://github.com/ReCodEx/utils/blob/master/runners/py/runner.py | --------- | --------- | ------- | | 0 | --- | OK | | 1 | BaseException | Unhandled exception | -| 101 | AssertionError | Assertion error | -| 102 | TypeError | Type error | -| 103 | NameError | Name not found error | -| 104 | EOFError | End of file error | +| 101 | AssertionError | An assertion failed | +| 102 | TypeError | Type error (a different type was expected) | +| 103 | NameError | Name not found error (an undefined name was used) | +| 104 | EOFError | End of file error (`input()` encountered an EOF) | | 105 | AttributeError | Attribute access failed | | 106 | IOError | IO error | -| 107 | OSError | OS error | -| 108 | LookupError | Lookup error | -| 109 | ValueError | Value error | +| 107 | OSError | OS returned an error (including filesystem access errors) | +| 108 | LookupError | Lookup error (invalid key or index was used in a data structure) | +| 109 | ValueError | Value error (invalid value of the right type was encountered) | | 110 | ZeroDivisionError | Zero division error | | 111 | ArithmeticError | Arithmetic error | -| 112 | ImportError | Import error | +| 112 | ImportError | Import error (an unknown or forbidden module was imported) | | 113 | MemoryError | Memory allocation error | | 114 | SyntaxError | Syntax error |