zeitgeist icon indicating copy to clipboard operation
zeitgeist copied to clipboard

[Swaps] Arithmetic errors display unfavorably in polkadot-js

Open maltekliemann opened this issue 3 years ago • 0 comments

Currently, arithmetic errors in the swaps pallet are DispatchError::Other, and display unfavorably in polkadot-js (just says "Other"). These errors should probably be module errors instead, or be a whole different class of errors which the calling code must then handle in case of an arithmetic error.

maltekliemann avatar Feb 28 '22 17:02 maltekliemann