encoding The name of the encoding that raised the error.
exception UnboundLocalError Raised when a reference is made to a local variable in a function or method, but no value has been
exception StopIteration Raised by built-in function
start The first index of invalid data in
exception FileNotFoundError Raised when a file or directory is requested but doesn’t exist. Corresponds to errno
args The tuple of arguments given to the exception constructor. Some built-in exceptions (like OSError) expect
exception BaseException The base class for all built-in exceptions. It is not meant to be directly inherited by user-defined
filename filename2 For exceptions that involve a file system path (such as
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
Page 3 of 8