encoding The name of the encoding that raised the error.
exception StopIteration Raised by built-in function
exception FileNotFoundError Raised when a file or directory is requested but doesn’t exist. Corresponds to errno
start The first index of invalid data in
object The object the codec was attempting to encode or decode.
exception UnboundLocalError Raised when a reference is made to a local variable in a function or method, but no value has been
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 UnicodeEncodeError Raised when a Unicode-related error occurs during encoding. It is a subclass of UnicodeError
with_traceback(tb) This method sets tb as the new traceback for the exception and returns the exception object. It
Page 3 of 8