code The exit status or error message that is passed to the constructor. (Defaults to None.)
exception ReferenceError This exception is raised when a weak reference proxy, created by the
with_traceback(tb) This method sets tb as the new traceback for the exception and returns the exception object. It
exception NotADirectoryError Raised when a directory operation (such as
exception SystemError Raised when the interpreter finds an internal error, but the situation does not look so serious to cause
winerror Under Windows, this gives you the native Windows error code. The errno attribute is then an approximate
filename2 For exceptions that involve a file system path (such as
exception UnicodeTranslateError Raised when a Unicode-related error occurs during translating. It is a subclass of UnicodeError
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
Page 5 of 8