jrouter/aurp/errors.go
2024-03-22 16:14:55 +11:00

14 lines
317 B
Go

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