12.2. Python built-in exceptions

Python predefines several exceptions (Figure 12.1).

Figure 12.1. Exceptions class hierarchy