summaryrefslogtreecommitdiffstats
path: root/vendor/go.mau.fi/whatsmeow/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/go.mau.fi/whatsmeow/errors.go')
-rw-r--r--vendor/go.mau.fi/whatsmeow/errors.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/go.mau.fi/whatsmeow/errors.go b/vendor/go.mau.fi/whatsmeow/errors.go
index 6391f65b..21bc67e0 100644
--- a/vendor/go.mau.fi/whatsmeow/errors.go
+++ b/vendor/go.mau.fi/whatsmeow/errors.go
@@ -48,6 +48,8 @@ var (
ErrInviteLinkRevoked = errors.New("that group invite link has been revoked")
// ErrBusinessMessageLinkNotFound is returned by ResolveBusinessMessageLink if the link doesn't exist or has been revoked.
ErrBusinessMessageLinkNotFound = errors.New("that business message link does not exist or has been revoked")
+ // ErrContactQRLinkNotFound is returned by ResolveContactQRLink if the link doesn't exist or has been revoked.
+ ErrContactQRLinkNotFound = errors.New("that contact QR link does not exist or has been revoked")
// ErrInvalidImageFormat is returned by SetGroupPhoto if the given photo is not in the correct format.
ErrInvalidImageFormat = errors.New("the given data is not a valid image")
// ErrMediaNotAvailableOnPhone is returned by DecryptMediaRetryNotification if the given event contains error code 2.
@@ -79,6 +81,12 @@ var (
ErrNothingDownloadableFound = errors.New("didn't find any attachments in message")
)
+var (
+ ErrOriginalMessageSecretNotFound = errors.New("original message secret key not found")
+ ErrNotEncryptedReactionMessage = errors.New("given message isn't an encrypted reaction message")
+ ErrNotPollUpdateMessage = errors.New("given message isn't a poll update message")
+)
+
type wrappedIQError struct {
HumanError error
IQError error