liquality / liquality-swap

Swap without intermediation peer-to-peer, cross chain
https://liquality.io
MIT License
51 stars 43 forks source link

More userfriendly error handling #157

Open gr0kchain opened 4 years ago

gr0kchain commented 4 years ago

Would like to see us implement a friendly error handling message map which providers better messages.

Example : non-final txid => "You still require some confirmations before you can do a refund"

monokh commented 4 years ago

Pre req is for someone to sit there and map all these error messages into meaningful things. This should be done overall rather than on case by case basis for the maximum efficiency in dealing with this.

All errors come from CAL, and messages need to account for the difference in chains, hence I believe most of these should be implemented at CAL level.

gr0kchain commented 4 years ago

Agreed. I have left this unassigned as it is an enhancement request which we shelve for the next release. For now bugs are what we focus on