#6 Add `ConstraintViolation` error

Zamknięty
otworzone 7 miesięcy temu przez kestrel · 1 komentarzy
kestrel skomentował 7 miesięcy temu

This is to reflect when microrm can tell that a database constraint error has occurred, for easier error recovery. Otherwise, without significant effort, any consumer of microrm basically handles all errors, from "I/O error while accessing database file" to "database busy" to "constraint violation because you tried to associate two items that are already associated" very similarly.

This is to reflect when `microrm` can tell that a database constraint error has occurred, for easier error recovery. Otherwise, without significant effort, any consumer of `microrm` basically handles all errors, from "I/O error while accessing database file" to "database busy" to "constraint violation because you tried to associate two items that are already associated" very similarly.
kestrel skomentował 7 miesięcy temu
Właściciel

Initial ConstraintViolation support implemented.

Initial `ConstraintViolation` support implemented.
Zaloguj się, aby dołączyć do tej rozmowy.
Brak etykiety
Brak kamienia milowego
Brak przypisania
1 uczestników
Ładowanie...
Anuluj
Zapisz
Nie ma jeszcze treści.