exception AssertionError Raised when an assert statement fails.
exception EnvironmentError
exception InterruptedError Raised when a system call is interrupted by an incoming signal. Corresponds to errno
filename2 For exceptions that involve a file system path (such as
exception NotADirectoryError Raised when a directory operation (such as
exception FutureWarning Base class for warnings about constructs that will change semantically in the future.
strerror The corresponding error message, as provided by the operating system. It is formatted by the C functions perror()
exception OverflowError Raised when the result of an arithmetic operation is too large to be represented. This cannot occur
code The exit status or error message that is passed to the constructor. (Defaults to None.)
winerror Under Windows, this gives you the native Windows error code. The errno attribute is then an approximate
Page 4 of 8