#6 Add `ConstraintViolation` error

Closed
opened 6 months ago by kestrel · 1 comments
kestrel commented 6 months ago

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 commented 6 months ago
Owner

Initial ConstraintViolation support implemented.

Initial `ConstraintViolation` support implemented.
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.