-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy patherrors.go
More file actions
25 lines (22 loc) · 874 Bytes
/
errors.go
File metadata and controls
25 lines (22 loc) · 874 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package msg
import "errors"
var (
// generic errors
ErrTODO = errors.New("not implemented")
ErrUnsupported = errors.New("unsupported")
ErrType = errors.New("invalid type")
ErrValue = errors.New("invalid value")
ErrLength = errors.New("invalid length")
ErrShort = errors.New("too short")
ErrLong = errors.New("too long")
ErrMarker = errors.New("marker not found")
ErrVersion = errors.New("invalid version")
ErrParams = errors.New("invalid parameters")
ErrCaps = errors.New("invalid capabilities")
ErrAttrDupe = errors.New("duplicate attribute")
ErrAttrCode = errors.New("invalid attribute code")
ErrAttrFlags = errors.New("invalid attribute flags")
ErrAttrs = errors.New("invalid attributes")
ErrSegType = errors.New("invalid segment type")
ErrSegLen = errors.New("invalid segment length")
)