We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 207f1ac commit ac59252Copy full SHA for ac59252
errors.go
@@ -49,4 +49,6 @@ var (
49
ErrDuplicatedKey = errors.New("duplicated key not allowed")
50
// ErrForeignKeyViolated occurs when there is a foreign key constraint violation
51
ErrForeignKeyViolated = errors.New("violates foreign key constraint")
52
+ // ErrCheckConstraintViolated occurs when there is a check constraint violation
53
+ ErrCheckConstraintViolated = errors.New("violates check constraint")
54
)
0 commit comments