2024-03-17 18:19:36 +11:00
|
|
|
package aurp
|
|
|
|
|
2024-03-22 16:14:55 +11:00
|
|
|
type ErrorCode = int16
|
2024-03-17 18:19:36 +11:00
|
|
|
|
|
|
|
// Various error codes.
|
|
|
|
const (
|
2024-03-22 16:14:55 +11:00
|
|
|
ErrCodeNormalClose = -1
|
|
|
|
ErrCodeRoutingLoop = -2
|
|
|
|
ErrCodeOutOfSync = -3
|
|
|
|
ErrCodeOptionNegotiation = -4
|
|
|
|
ErrCodeInvalidVersion = -5
|
|
|
|
ErrCodeInsufficientResources = -6
|
|
|
|
ErrCodeAuthentication = -7
|
2024-03-17 18:19:36 +11:00
|
|
|
)
|