xrpl.js icon indicating copy to clipboard operation
xrpl.js copied to clipboard

encode - improve error message when there is a typo in the TransactionType @ripple-binary-codec

Open khancode opened this issue 3 years ago • 1 comments

When trying to sign a transaction, if the TransactionType is invalid, the error message is cryptic and doesn't make it easy for developers to identify what the problem is.

Original issue: https://github.com/ripple/ripple-binary-codec/issues/126

khancode avatar Nov 19 '21 04:11 khancode

maybe message could included the levenshtein (sic) difference two

sublimator avatar Nov 19 '21 04:11 sublimator

This appears to be resolved (Although it doesn't include the levenshtein difference)

JST5000 avatar Dec 13 '22 23:12 JST5000