exception UnboundLocalError Raised when a reference is made to a local variable in a function or method, but no value has been
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
filename filename2 For exceptions that involve a file system path (such as
object The object the codec was attempting to encode or decode.
exception BaseException The base class for all built-in exceptions. It is not meant to be directly inherited by user-defined
start The first index of invalid data in
exception StopIteration Raised by built-in function
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.
Page 3 of 8