-
Notifications
You must be signed in to change notification settings - Fork 6
/
errors.go
24 lines (22 loc) · 857 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
23
24
package go2linq
import (
"errors"
)
var (
ErrDuplicateKeys = errors.New("duplicate keys")
ErrEmptySource = errors.New("empty source")
ErrIndexOutOfRange = errors.New("index out of range")
ErrMultipleElements = errors.New("multiple elements")
ErrMultipleMatch = errors.New("multiple match")
ErrNegativeCount = errors.New("negative count")
ErrNilAccumulator = errors.New("nil accumulator")
ErrNilAction = errors.New("nil action")
ErrNilCompare = errors.New("nil compare")
ErrNilEqual = errors.New("nil equal")
ErrNilLess = errors.New("nil less")
ErrNilPredicate = errors.New("nil predicate")
ErrNilSelector = errors.New("nil selector")
ErrNilSource = errors.New("nil source")
ErrNoMatch = errors.New("no match")
ErrSizeOutOfRange = errors.New("size out of range")
)