Using MySQL or Postgres for DB backend, if a deadlock occurs, the exception raised is django.db.utils.OperationalError. However, using django-pyodbc-azure and SQL Server, the error is the base django.db.utils.Error.
For consistency can we raise OperationalError if a deadlock occurs (error code = '40001')?
Using MySQL or Postgres for DB backend, if a deadlock occurs, the exception raised is django.db.utils.OperationalError. However, using django-pyodbc-azure and SQL Server, the error is the base django.db.utils.Error.
For consistency can we raise OperationalError if a deadlock occurs (error code = '40001')?