#6 Add `ConstraintViolation` error

Затворено
отворено пре 6 месеци од kestrel · 1 коментара
kestrel коментирира пре 6 месеци

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.
kestrel затворено пре 3 часа
Пријавите се да се прикључе у овом разговору.
Нема лабеле
Нема фазе
Нема одговорних
1 учесника
Учитавање...
Откажи
Сачувај
Још нема садржаја.