-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API handlers to return error containing error key
- Loading branch information
1 parent
082cbd9
commit 8484a5a
Showing
6 changed files
with
97 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7391,3 +7391,6 @@ components: | |
properties: | ||
error: | ||
type: string | ||
extended_code: | ||
type: integer | ||
format: int64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package references | ||
|
||
type ExtendedCode int64 | ||
|
||
const ( | ||
ErrGaslessJettonIsNotSupported ExtendedCode = iota + 40_000 | ||
ErrGaslessTemporary | ||
ErrGaslessSignature | ||
ErrGaslessPendingMessages | ||
ErrGaslessBadRequest | ||
ErrGaslessOperationIsNotSupported | ||
ErrGaslessUserDisabled | ||
ErrGaslessEstimatingCommission | ||
ErrGaslessCommission | ||
ErrGaslessBalance | ||
ErrGaslessBootstrapTransferDisabled | ||
ErrGaslessUnknown | ||
) |