#33541: Database exceptions / django.db.utils.Error and subclasses are not
documented
-----------------------------------------+------------------------
Reporter: juspence | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 4.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
I am trying to implement a similar feature as
https://code.djangoproject.com/ticket/24810 for my app, which uses Django.
The details aren't really important, but my goal is to add custom retry
logic depending on what exception is received and what the cause was. So I
need to know what the different django.db.utils.Error subtypes mean and
what situations they get raised in.
I have looked at the docs:
https://docs.djangoproject.com/en/4.0/ref/exceptions/#database-exceptions
And the source code:
https://github.com/django/django/blob/main/django/db/utils.py
But there is nothing written about what the different database exceptions
mean.
--
Ticket URL: <https://code.djangoproject.com/ticket/33541>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.ff81414957dfd3f573da2b0c9f543cc2%40djangoproject.com.