#6 Add `ConstraintViolation` error

Geschlossen
vor 7 Monaten geöffnet von kestrel · 1 Kommentare
kestrel kommentierte vor 7 Monaten

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 kommentierte vor 7 Monaten
Besitzer

Initial ConstraintViolation support implemented.

Initial `ConstraintViolation` support implemented.
kestrel hat vor 2 Wochen geschlossen
Anmelden, um an der Diskussion teilzunehmen.
Kein Label
Kein Meilenstein
Niemand zuständig
1 Beteiligte
Laden…
Abbrechen
Speichern
Hier gibt es bis jetzt noch keinen Inhalt.