KeyErrorKeyError
A dictionary key was not found in the dictionary.
OSErrorA system-level error occurred during an I/O operation.
The operating system reported an error. OSError is the base class for FileNotFoundError, PermissionError, and other system errors. It occurs during file operations, network calls, or system calls that the OS cannot fulfill.
Check the errno attribute for the specific system error code. Handle specific subclasses (FileNotFoundError, PermissionError) separately. Verify system resources are available. Check the strerror attribute for a human-readable description.
KeyErrorA dictionary key was not found in the dictionary.
StopAsyncIterationRaised by an async iterator's __anext__() method to signal that iteration is complete.
ConnectionResetErrorThe connection was forcibly closed by the remote server.
AttributeErrorAn object does not have the requested attribute or method.
UnicodeDecodeErrorA byte sequence could not be decoded using the specified encoding.
TypeError: unhashable typeA mutable object was used where a hashable (immutable) object is required, such as a dictionary key or set element.