From 6a3fc713978a0c1c9290a4afd08b47886b49b635 Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 13 Aug 2022 16:14:26 +0200 Subject: Update dependencies and go1.18 (#1873) * Update dependencies and go1.18 * Exclude unnecessary linters and update build to go1.18 --- vendor/github.com/SevereCloud/vksdk/v2/api/errors.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vendor/github.com/SevereCloud/vksdk/v2/api/errors.go') diff --git a/vendor/github.com/SevereCloud/vksdk/v2/api/errors.go b/vendor/github.com/SevereCloud/vksdk/v2/api/errors.go index aa6ea509..7ad0c9f7 100644 --- a/vendor/github.com/SevereCloud/vksdk/v2/api/errors.go +++ b/vendor/github.com/SevereCloud/vksdk/v2/api/errors.go @@ -622,6 +622,12 @@ const ( // Anonymous token is invalid. ErrAnonymousTokenInvalid ErrorType = 1116 + // Access token has expired. + ErrAuthAccessTokenHasExpired ErrorType = 1117 + + // Anonymous token ip mismatch. + ErrAuthAnonymousTokenIPMismatch ErrorType = 1118 + // Invalid document id. ErrParamDocID ErrorType = 1150 -- cgit v1.2.3