exception SyntaxError Raised when the parser encounters a syntax error. This may occur in an import statement,
exception RuntimeError Raised when an error is detected that doesn’t fall in any of the other categories. The associated value
exception UnicodeTranslateError Raised when a Unicode-related error occurs during translating. It is a subclass of UnicodeError
exception TypeError Raised when an operation or function is applied to an object of inappropriate type. The associated value
exception Exception All built-in, non-system-exiting exceptions are derived from this class. All user-defined exceptions should
exception ChildProcessError Raised when an operation on a child process failed. Corresponds to errno ECHILD
reason A string describing the specific codec error.
exception ConnectionResetError A subclass of ConnectionError, raised when a connection is reset by the peer. Corresponds
exception UserWarning Base class for warnings generated by user code.
exception StopAsyncIteration Must be raised by __anext__() method of an asynchronous
Page 7 of 8