You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
response.error is just a string token like invalidParams. I think it makes sense to just pass the whole response as the second parameter data to RippledError. There's no really escaping the fact that RippleAPI is built upon the existing rippled api, so when there's information about an error, it would be best to be able to access it.
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29801330-ripplederror?utm_campaign=plugin&utm_content=tracker%2F323756&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F323756&utm_medium=issues&utm_source=github).
The text was updated successfully, but these errors were encountered:
https://github.com/ripple/ripple-lib/blob/develop/src/common/connection.js#L284-L285
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29801330-ripplederror?utm_campaign=plugin&utm_content=tracker%2F323756&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F323756&utm_medium=issues&utm_source=github).response.error
is just a string token likeinvalidParams
. I think it makes sense to just pass the whole response as the second parameterdata
to RippledError. There's no really escaping the fact that RippleAPI is built upon the existing rippled api, so when there's information about an error, it would be best to be able to access it.The text was updated successfully, but these errors were encountered: