Skip to content

Commit

Permalink
feat(BRIDGE-14): Missing response code
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectroNafta committed Apr 5, 2024
1 parent ec58ed7 commit 11a3713
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions response.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11a3713

Please sign in to comment.