summaryrefslogtreecommitdiffstats
path: root/vendor/go.mau.fi/whatsmeow/binary/errors.go
blob: 2be2d726074849ce551827980b84d252e494c3d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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")
)