diff options
Diffstat (limited to 'vendor/go.mau.fi/whatsmeow/binary/errors.go')
-rw-r--r-- | vendor/go.mau.fi/whatsmeow/binary/errors.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/go.mau.fi/whatsmeow/binary/errors.go b/vendor/go.mau.fi/whatsmeow/binary/errors.go new file mode 100644 index 00000000..2be2d726 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/errors.go @@ -0,0 +1,12 @@ +package binary + +import "errors" + +// Errors returned by the binary XML decoder. +var ( + ErrInvalidType = errors.New("unsupported payload type") + ErrInvalidJIDType = errors.New("invalid JID type") + ErrInvalidNode = errors.New("invalid node") + ErrInvalidToken = errors.New("invalid token with tag") + ErrNonStringKey = errors.New("non-string key") +) |