Skip to content

Commit

Permalink
πŸ“ add errors related part
Browse files Browse the repository at this point in the history
Provide information about error handling by the Client
  • Loading branch information
chabroA committed Sep 6, 2022
1 parent 25ba2fe commit ff45fc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ All [`Transaction`]()s and [`Account`]()s should be serialized before being broa
Similarly, the response received from the Server, formatted as [`RawTransaction`]() and [`RawAccount`]() should be deserialized before being returned to the user of the Client (i.e: the Application integrating said client).

## Errors

The Client will forward [errors](/spec/core/errors.md) returned by the Wallet application through the Server. The only function performing checks before sending the request to the Server is `completeExchange`. Indeed, this function should return an error if the requested operation is a Swap but no destination account is provided.

0 comments on commit ff45fc4

Please sign in to comment.