zeitgeist
zeitgeist copied to clipboard
[Swaps] Arithmetic errors display unfavorably in polkadot-js
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.