package sqliteutil
import "github.com/mattn/go-sqlite3"
func ErrIsConstraint(err error) bool {
e, ok := err.(sqlite3.Error)
return ok && e.Code == 19
}