exception StopIteration Raised by built-in function
encoding The name of the encoding that raised the error.
start The first index of invalid data in
exception BaseException The base class for all built-in exceptions. It is not meant to be directly inherited by user-defined
args The tuple of arguments given to the exception constructor. Some built-in exceptions (like OSError) expect
exception FileNotFoundError Raised when a file or directory is requested but doesn’t exist. Corresponds to errno
object The object the codec was attempting to encode or decode.
filename filename2 For exceptions that involve a file system path (such as
exception ResourceWarning Base class for warnings related to resource usage.
exception UnicodeEncodeError Raised when a Unicode-related error occurs during encoding. It is a subclass of UnicodeError
Page 3 of 8