-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path68 Exception Handlers List.py
More file actions
76 lines (72 loc) · 1.95 KB
/
68 Exception Handlers List.py
File metadata and controls
76 lines (72 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Here is a complete alphabetical ordered list of 68 Exception Handlers in Python.
# Created by Joseph C. Richardson, GitHub.com
except ArithmeticError:
except AssertionError:
except AttributeError:
except BaseException:
except BlockingIOError:
except BrokenPipeError:
except BufferError:
except BytesWarning:
except ChildProcessError:
except ConnectionAbortedError:
except ConnectionError:
except ConnectionRefusedError:
except ConnectionResetError:
except DeprecationWarning:
except EOFError:
except EnvironmentError:
except Exception: # Note: the Exception: handler will catch 'all' errors.
except FileExistsError:
except FileNotFoundError:
except FloatingPointError:
except FutureWarning:
except GeneratorExit:
except IOError:
except ImportError:
except ImportWarning:
except IndentationError:
except IndexError:
except InterruptedError:
except IsADirectoryError:
except KeyError:
except KeyboardInterrupt:
except LookupError:
except MemoryError:
except ModuleNotFoundError:
except NameError:
except NotADirectoryError:
except NotImplementedError:
except OSError([arg]):
except OSError(errno, strerror[, filename[, winerror[, filename2]]]):
except OverflowError:
except PendingDeprecationWarning:
except PermissionError:
except ProcessLookupError:
except RecursionError:
except ReferenceError:
except ResourceWarning:
except RuntimeError:
except RuntimeWarning:
except StopAsyncIteration:
except StopIteration:
except SyntaxError:
except SyntaxWarning:
except SystemError:
except SystemExit:
except TabError:
except TimeoutError:
except TypeError:
except UnboundLocalError:
except UnicodeDecodeError:
except UnicodeEncodeError:
except UnicodeError:
except UnicodeTranslateError:
except UnicodeWarning:
except UserWarning:
except ValueError:
except Warning:
except WindowsError:
except ZeroDivisionError:
# I am almost a complete Walking Human Computer Science Research
# Laboratory Machine on Two Legs... 😁