diff options
author | Rachel Dowdall <rjdowdall@gmail.com> | 2014-03-22 15:28:16 +0000 |
---|---|---|
committer | Rachel Dowdall <rjdowdall@gmail.com> | 2014-03-22 15:28:16 +0000 |
commit | 721c55dced099a797f0910839c7c4f9ac7599ed4 (patch) | |
tree | 256841f59ea9d6ff0a9a5fb864b56774b6b67781 /py/qstrdefs.h | |
parent | 249b9c761d1fa0893740092df1d713ce0d91e856 (diff) |
Added exception hierarchy except for OSError and UnicodeError (requires arguments). Comment out the errors that aren't needed if memory becomes an issue.
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r-- | py/qstrdefs.h | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h index 0e0479e9b..96d94d937 100644 --- a/py/qstrdefs.h +++ b/py/qstrdefs.h @@ -34,21 +34,64 @@ Q(Ellipsis) Q(StopIteration) Q(BaseException) +Q(ArithmeticError) Q(AssertionError) Q(AttributeError) +Q(BlockingIOError) +Q(BrokenPipeError) +Q(BufferError) +Q(BytesWarning) +Q(ChildProcessError) +Q(ConnectionAbortedError) +Q(ConnectionError) +Q(ConnectionRefusedError) +Q(ConnectionResetError) +Q(DeprecationWarning) +Q(EOFError) +Q(EnvironmentError) +Q(Exception) +Q(FileExistsError) +Q(FileNotFoundError) +Q(FloatingPointError) +Q(FutureWarning) +Q(GeneratorExit) +Q(IOError) Q(ImportError) +Q(ImportWarning) Q(IndentationError) Q(IndexError) +Q(InterruptedError) +Q(IsADirectoryError) Q(KeyError) +Q(LookupError) +Q(MemoryError) Q(NameError) +Q(NotADirectoryError) Q(NotImplementedError) Q(OSError) +Q(OverflowError) +Q(PendingDeprecationWarning) +Q(PermissionError) +Q(ProcessLookupError) +Q(ReferenceError) +Q(ResourceWarning) +Q(RuntimeError) +Q(RuntimeWarning) Q(SyntaxError) +Q(SyntaxWarning) +Q(SystemError) +Q(SystemExit) +Q(TabError) +Q(TimeoutError) Q(TypeError) +Q(UnboundLocalError) +Q(UnicodeWarning) +Q(UserWarning) Q(ValueError) -Q(OverflowError) +Q(Warning) Q(ZeroDivisionError) + Q(NoneType) Q(abs) |