Last active
March 7, 2023 05:05
-
-
Save ROBOMASTER-S1/705901bb03335bf48e3ebe39e17bd144 to your computer and use it in GitHub Desktop.
Try and Except Error Handlers Scope Created by Joseph C. Richardson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
This is a complete scope of all the Try and Except Eorror handlers. | |
''' | |
# Created by Joseph C. Richardson, GitHub.com | |
except Exception: | |
except BaseException: | |
except ArithmeticError: | |
except BufferError: | |
except LookupError: | |
except AssertionError: | |
except AttributeError: | |
except EOFError: | |
except FloatingPointError: | |
except GeneratorExit: | |
except ImportError: | |
except ModuleNotFoundError: | |
except IndexError: | |
except KeyError: | |
except KeyboardInterrupt: | |
except MemoryError: | |
except NameError: | |
except NotImplementedError: | |
except OSError([arg]): | |
except OSError(errno, strerror[, filename[, winerror[, filename2]]]): | |
except OverflowError: | |
except RecursionError: | |
except ReferenceError: | |
except RuntimeError: | |
except StopIteration: | |
except StopAsyncIteration: | |
except SyntaxError: | |
except IndentationError: | |
except TabError: | |
except SystemError: | |
except SystemExit: | |
except TypeError: | |
except UnboundLocalError: | |
except UnicodeError: | |
except UnicodeEncodeError: | |
except UnicodeDecodeError: | |
except UnicodeTranslateError: | |
except ValueError: | |
except ZeroDivisionError: | |
except EnvironmentError: | |
except IOError: | |
except WindowsError: | |
except BlockingIOError: | |
except ChildProcessError: | |
except ConnectionError: | |
except BrokenPipeError: | |
except ConnectionAbortedError: | |
except ConnectionRefusedError: | |
except ConnectionResetError: | |
except FileExistsError: | |
except FileNotFoundError: | |
except InterruptedError: | |
except IsADirectoryError: | |
except NotADirectoryError: | |
except PermissionError: | |
except ProcessLookupError: | |
except TimeoutError: | |
except Warning: | |
except UserWarning: | |
except DeprecationWarning: | |
except PendingDeprecationWarning: | |
except SyntaxWarning: | |
except RuntimeWarning: | |
except FutureWarning: | |
except ImportWarning: | |
except UnicodeWarning: | |
except BytesWarning: | |
except ResourceWarning: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment