exception ResourceWarning Base class for warnings related to resource usage.
exception SystemError Raised when the interpreter finds an internal error, but the situation does not look so serious to cause
exception InterruptedError Raised when a system call is interrupted by an incoming signal. Corresponds to errno
exception EnvironmentError
with_traceback(tb) This method sets tb as the new traceback for the exception and returns the exception object. It
strerror The corresponding error message, as provided by the operating system. It is formatted by the C functions perror()
exception UnicodeEncodeError Raised when a Unicode-related error occurs during encoding. It is a subclass of UnicodeError
exception FutureWarning Base class for warnings about constructs that will change semantically in the future.
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
Page 4 of 8