jrouter/aurp/errors.go

15 lines
385 B
Go
Raw Normal View History

2024-03-17 18:19:36 +11:00
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
)