DBConnection.ConnectionError exception (db_connection v2.4.2) View Source

The raised exception might include the reason which would be useful to programmatically determine what was causing the error.