| AttributeError
|
a method name is incorrect for this object type
|
| FileNotFoundError
|
a file or directory is requested that doesn't exist
|
| IndentationError
|
there is an invalid indent, or indent expected
|
| IndexError
|
use of an index for a nonexistent list/tuple item
|
| IsADirectoryError
|
a directory is attempted to be opened like a file
|
| KeyError
|
a requested key does not exist in the dictionary
|
| NameError
|
a variable or function name is used that doesn't exist
|
| NotADirectoryError
|
a file is attempted to be read like a directory
|
| OSError
|
a file or directory is requested that doesn't exist
|
| PermissionError
|
the user does not have permission to read or write a file or directory
|
| SyntaxError
|
code syntax (commas brackets, etc) is incorrect
|
| TypeError
|
the wrong type used in an expression
|
| UnboundLocalError
|
trying to read a variable in a function before assigned
|
| ValueError
|
the wrong value used in an expression
|
| WindowsError
|
a file or directory is requested that doesn't exist
|