Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error codes #131

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions 02.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,14 @@ A useful flow is:
- For all new keyset returned here which we don't have yet, get it using `GET /v1/keys/{keyset_id}` and store it
- If any of the keysets has changed its `active` flag, update it in the db and use the keyset accordingly

## Errors

| Code | Description |
| ----- | ----------------------------------------------- |
| 11002 | Transaction is not balanced (inputs != outputs) |
| 12001 | Keyset is not known |
| 12002 | Keyset is inactive, cannot sign messages |

thesimplekid marked this conversation as resolved.
Show resolved Hide resolved
[00]: 00.md
[01]: 01.md
[02]: 02.md
Expand Down
10 changes: 10 additions & 0 deletions 03.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,16 @@ If successful, `Bob` will respond with a `PostSwapResponse`
}
```

## Errors

| Code | Description |
| ----- | ----------------------------------------------- |
| 10002 | Blinded message of output already signed |
| 10003 | Token could not be verified |
| 11001 | Token is already spent |
| 11002 | Transaction is not balanced (inputs != outputs) |
| 12002 | Keyset is inactive, cannot sign messages |

thesimplekid marked this conversation as resolved.
Show resolved Hide resolved
[00]: 00.md
[01]: 01.md
[02]: 02.md
Expand Down
14 changes: 14 additions & 0 deletions 04.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,20 @@ Example `MintMethodSetting`:
}
```

## Errors

| Code | Description |
| ----- | ----------------------------------------- |
| 10002 | Blinded message of output already signed |
| 11005 | Unit in request is not supported |
| 11006 | Amount outside of limit range |
| 12002 | Keyset is inactive, cannot sign messages |
| 20001 | Quote request is not paid |
| 20002 | Tokens have already been issued for quote |
| 20003 | Minting is disabled |
| 20005 | Quote is pending |
| 20007 | Quote is expired |

thesimplekid marked this conversation as resolved.
Show resolved Hide resolved
[00]: 00.md
[01]: 01.md
[02]: 02.md
Expand Down
14 changes: 14 additions & 0 deletions 05.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,20 @@ Example `MeltMethodSetting`:
}
```

## Errors

| Code | Description |
| ----- | ----------------------------------------------- |
| 10002 | Blinded message of output already signed |
| 10003 | Token could not be verified |
| 11001 | Token is already spent |
| 11002 | Transaction is not balanced (inputs != outputs) |
| 11005 | Unit in request is not supported |
| 11006 | Amount outside of limit range |
| 20005 | Quote is pending |
| 20006 | Invoice already paid |
| 20007 | Quote is expired |

[00]: 00.md
[01]: 01.md
[02]: 02.md
Expand Down