From 11a3713b2dfafd56360b37fc000528757d4e0084 Mon Sep 17 00:00:00 2001 From: Atanas Janeshliev Date: Fri, 5 Apr 2024 11:10:14 +0200 Subject: [PATCH] feat(BRIDGE-14): Missing response code --- response.go | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/response.go b/response.go index a5bc06b..21fe39d 100644 --- a/response.go +++ b/response.go @@ -19,16 +19,17 @@ import ( type Code int const ( - SuccessCode Code = 1000 - MultiCode Code = 1001 - InvalidValue Code = 2001 - AppVersionMissingCode Code = 5001 - AppVersionBadCode Code = 5003 - UsernameInvalid Code = 6003 // Deprecated, but still used. - PasswordWrong Code = 8002 - HumanVerificationRequired Code = 9001 - PaidPlanRequired Code = 10004 - AuthRefreshTokenInvalid Code = 10013 + SuccessCode Code = 1000 + MultiCode Code = 1001 + InvalidValue Code = 2001 + AppVersionMissingCode Code = 5001 + AppVersionBadCode Code = 5003 + UsernameInvalid Code = 6003 // Deprecated, but still used. + PasswordWrong Code = 8002 + HumanVerificationRequired Code = 9001 + PaidPlanRequired Code = 10004 + AuthRefreshTokenInvalid Code = 10013 + HumanValidationInvalidToken Code = 12087 ) type ErrDetails []byte