github.com/voedger/voedger@v0.0.0-20240520144910-273e84102129/pkg/sys/uniques/errors.go (about) 1 /* 2 * Copyright (c) 2020-present unTill Pro, Ltd. 3 */ 4 5 package uniques 6 7 import "errors" 8 9 var ErrUniqueConstraintViolation = errors.New("unique constraint violation") 10 11 var ErrUniqueFieldUpdateDeny = errors.New("unique field update denied") 12 13 var ErrUniqueValueTooLong = errors.New("unique value is too long") 14 15 var ErrProvidedDocCanNotHaveUniques = errors.New("type of the provided doc can not have uniques") 16 17 var ErrUniqueNotExist = errors.New("unique does not exist")