From 0cfb7eafb1bd56f820abc2f356e1ec9430af2137 Mon Sep 17 00:00:00 2001 From: Daniil Suvorov Date: Thu, 16 Jun 2022 10:03:29 +0300 Subject: [PATCH] feat(api): add ErrAuthAccessTokenHasExpired --- api/errors.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/errors.go b/api/errors.go index aa6ea509..80faf035 100644 --- a/api/errors.go +++ b/api/errors.go @@ -622,6 +622,9 @@ const ( // Anonymous token is invalid. ErrAnonymousTokenInvalid ErrorType = 1116 + // Access token has expired. + ErrAuthAccessTokenHasExpired ErrorType = 1117 + // Invalid document id. ErrParamDocID ErrorType = 1150