-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror.go
More file actions
19 lines (16 loc) · 722 Bytes
/
error.go
File metadata and controls
19 lines (16 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package vector
import "errors"
var (
ErrEmptySrc = errors.New("can't parse empty source")
ErrShortSrc = errors.New("source is too short to parse")
ErrNotImplement = errors.New("method not implemented")
ErrIncompatType = errors.New("incompatible type")
ErrNotFound = errors.New("node not found")
ErrInternal = errors.New("internal vector error")
ErrNoHelper = errors.New("helper not found")
ErrUnparsedTail = errors.New("unparsed tail")
ErrUnexpId = errors.New("unexpected identifier")
ErrUnexpEOF = errors.New("unexpected end of file")
ErrUnexpEOS = errors.New("unexpected end of string")
_, _, _, _, _ = ErrShortSrc, ErrUnparsedTail, ErrUnexpId, ErrUnexpEOF, ErrUnexpEOS
)