Exceptions
Built-in Exceptions
Exceptions should be class objects. The exceptions are defined in the module exceptions
. This module never needs to be imported explicitly: the exceptions are provided in the built-in namespace as well as the exceptions
module.
For class exceptions, in a try
statement with an except
clause that mentio