forked from Loyalsoldier/geoip
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror.go
More file actions
17 lines (15 loc) · 679 Bytes
/
error.go
File metadata and controls
17 lines (15 loc) · 679 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package lib
import "errors"
var (
ErrDuplicatedConverter = errors.New("duplicated converter")
ErrUnknownAction = errors.New("unknown action")
ErrNotSupportedFormat = errors.New("not supported format")
ErrInvalidIPType = errors.New("invalid IP type")
ErrInvalidIP = errors.New("invalid IP address")
ErrInvalidIPLength = errors.New("invalid IP address length")
ErrInvalidIPNet = errors.New("invalid IPNet address")
ErrInvalidCIDR = errors.New("invalid CIDR")
ErrInvalidPrefix = errors.New("invalid prefix")
ErrInvalidPrefixType = errors.New("invalid prefix type")
ErrCommentLine = errors.New("comment line")
)