## 2.3 The `exceptions` module

The exceptions module contains the following objects of type `exception`:

`assertion`, `file`, `generic`, `interrupt`, `key`, `namespace`, `numerical`, `overflow`, `range`, `syntax`, `type`, `unit`.

To raise an exception with one of these types, the `raise` function should be called:

raise()
The raise() function raises the exception , with error string . should be an exception object; should be an error message string.