atomiclabs / hyperdex

Grandma-Friendly Atomic Swaps
MIT License
153 stars 56 forks source link

Better error reporting #180

Open lukechilds opened 6 years ago

lukechilds commented 6 years ago

We are limited to what we can do at the moment because marketmaker is inconsistent with how it reports errors and when when it does report error we very rarely get an error code to reference.

But we should do as much as we can to make the errors clearer wherever possible.

We're waiting on documentation for failed swap error codes: https://docs.google.com/spreadsheets/d/1blgmrJCZ-SfYaJdTTVdk717kZ43R4yzm9YIW2Bt--EM/edit#gid=0

Related:

jorian commented 4 years ago

Error reporting could be improved quite a bit with all the JSON responses that mm2.0 now returns. See the API