#6 Add `ConstraintViolation` error

Cerrada
abierta hace 6 meses por kestrel · 1 comentarios

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 comentado hace 6 meses
Propietario

Initial ConstraintViolation support implemented.

Initial `ConstraintViolation` support implemented.
Inicie sesión para unirse a esta conversación.
Sin etiquetas
Sin Milestone
Sin asignado
1 participantes
Cargando...
Cancelar
Guardar
Aún no existe contenido.