exception SystemError Raised when the interpreter finds an internal error, but the situation does not look so serious to cause
exception IndexError Raised when a sequence subscript is out of range. (Slice indices are silently truncated to fall in the
exception TimeoutError Raised when a system function timed out at the system level. Corresponds to errno ETIMEDOUT
exception EnvironmentError
exception ResourceWarning Base class for warnings related to resource usage.
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
exception AssertionError Raised when an assert statement fails.
exception UnicodeError Raised when a Unicode-related encoding or decoding error occurs. It is a subclass of ValueError
exception FutureWarning Base class for warnings about constructs that will change semantically in the future.
Page 4 of 8