-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherrors.go
18 lines (16 loc) · 883 Bytes
/
errors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package sap
import (
"errors"
)
var (
errBufTooSmallForFlags = errors.New("buffer too small for Flags")
errBufTooSmallForAuthLength = errors.New("buffer too small for Authentication Length")
errBufTooSmallForAuthData = errors.New("buffer too small for Authentication Data")
errBufTooSmallForMsgIdHash = errors.New("buffer too small for message id hash")
errBufTooSmallForIPv4 = errors.New("buffer too small for IPv4 address")
errBufTooSmallForIPv6 = errors.New("buffer too small for IPv6 address")
errBufTooSmallForPayload = errors.New("buffer too small for the payload")
errBufTooSmallForHeader = errors.New("buffer too small for the header")
errNoTrailingByteFound = errors.New("didn't find the trailing byte from the buffer")
errInvalidIPOnHeader = errors.New("invalid IP in the OriginatingSource field on the Header Struct")
)