forked from s7techlab/cckit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
22 lines (15 loc) · 761 Bytes
/
errors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package mapping
import "errors"
var (
// ErrEntryTypeNotSupported entry type has no appropriate mapper type
ErrEntryTypeNotSupported = errors.New(`entry type not supported for mapping`)
// ErrEntryTypeNotDefined
ErrStateMappingNotFound = errors.New(`state mapping not found`)
// ErrEventMappingNotFound
ErrEventMappingNotFound = errors.New(`event mapping not found`)
// ErrFieldTypeNotSupportedForKeyExtraction key cannot extracted from field
ErrFieldTypeNotSupportedForKeyExtraction = errors.New(`field type not supported for key extraction`)
ErrMappingUniqKeyExists = errors.New(`mapping uniq key exists`)
ErrFieldNotExists = errors.New(`field is not exists`)
ErrPrimaryKeyerNotDefined = errors.New(`primary keyer is not defined`)
)