jrouter/aurp/errors.go
2024-03-17 18:19:36 +11:00

14 lines
385 B
Go

package aurp
type ErrorCode int16
// Various error codes.
const (
ErrCodeNormalClose ErrorCode = -1
ErrCodeRoutingLoop ErrorCode = -2
ErrCodeOutOfSync ErrorCode = -3
ErrCodeOptionNegotiation ErrorCode = -4
ErrCodeInvalidVersion ErrorCode = -5
ErrCodeInsufficientResources ErrorCode = -6
ErrCodeAuthentication ErrorCode = -7
)