Opened 10 years ago

Closed 10 years ago

#7912 closed (duplicate)

Add what kind of exception is through

Reported by: BigNude Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Keywords: exception, model, backend
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


it would by great to have information in documentation what kind of exceptions can by through if conditions in model creation not fulfilled.
for example if I create objects where the two fields are unique together then the exception will ocoure, but whitch. well you will think it depends on the backend. Sure but since django abstracts it for me already then it should abstrac exceptions as well and though usefull exceptions as for example Object.DoesNotExist

Change History (2)

comment:1 Changed 10 years ago by BigNude <lauril-4@…>

Component: DocumentationDatabase wrapper

I guess this would applier to database wrapper as well

comment:2 Changed 10 years ago by Matt McClanahan

Resolution: duplicate
Status: newclosed

This will be addressed by #6845.

Note: See TracTickets for help on using tickets.
Back to Top