#6 Add `ConstraintViolation` error

已關閉
kestrel6 月之前創建 · 1 條評論

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 評論 6 月之前'
所有者

Initial ConstraintViolation support implemented.

Initial `ConstraintViolation` support implemented.
登入 才能加入這對話。
未選擇標籤
未選擇里程碑
未指派成員
1 參與者
正在加載...
取消
保存
尚未有任何內容