forked from adjoeio/djoemo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrors.go
More file actions
21 lines (14 loc) · 747 Bytes
/
errors.go
File metadata and controls
21 lines (14 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package djoemo
import "errors"
//ErrInvalidTableName table name is invalid error
var ErrInvalidTableName = errors.New("invalid table name")
//ErrInvalidHashKeyName hash key name is invalid error
var ErrInvalidHashKeyName = errors.New("invalid hash key name")
//ErrInvalidHashKeyValue hash key value is invalid error
var ErrInvalidHashKeyValue = errors.New("invalid hash key value")
//ErrNoItemFound item not found error
var ErrNoItemFound = errors.New("no item found")
//ErrInvalidSliceType interface should be slice error
var ErrInvalidSliceType = errors.New("invalid type expected slice")
//ErrInvalidPointerSliceType should be pointer of slice error
var ErrInvalidPointerSliceType = errors.New("invalid type expected pointer of slice")