python-cx_Oracle
python-cx_Oracle copied to clipboard
Deadlock error as explicit exception
Is it possible to add deadlock exception as similarly there's IntegrityError?
Then it's simple to catch it and retry the operation. try: ... except cx_Oracle.DeadlockError: ...