The DBAPI 2.0 specifies that all exceptions raised by the database
drivers must inherit from DatabaseError or Interface error. Using those
as the exception classes caught by ETLHelper means that we don't need to
maintain a list of individual exception types for each different database.
The DBAPI 2.0 specifies that all exceptions raised by the database drivers must inherit from DatabaseError or Interface error. Using those as the exception classes caught by ETLHelper means that we don't need to maintain a list of individual exception types for each different database.
https://peps.python.org/pep-0249/#exceptions
To test