forked from arran4/lookup
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrors.go
More file actions
17 lines (15 loc) · 797 Bytes
/
errors.go
File metadata and controls
17 lines (15 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package lookup
import "errors"
var (
ErrNoSuchPath = errors.New("no such path")
ErrInvalidEvaluationFunction = errors.New("invalid evaluation function")
ErrEvalFail = errors.New("path succeeded but evaluator failed")
ErrMatchFail = errors.New("path succeeded match failed")
ErrIndexOfNotArray = errors.New("tried to index a non-array")
ErrIndexValueNotValid = errors.New("index value not valid")
ErrUnknownIndexMode = errors.New("unknown index mode")
ErrIndexOutOfRange = errors.New("index out of range")
ErrValueNotIn = errors.New("value not in set")
ErrNoMatchesForQuery = errors.New("nothing matched query")
ErrFalse = errors.New("evaluated to false")
)