LookupError

I just learned about LookupError, which is the base class for KeyError and IndexError.

https://docs.python.org/3/library/exceptions.html#LookupError

Advertisements