Closed stojanov-igor closed 2 years ago
A DispatchError will refer to a pallet and a member of the pallet's Error enum by index:
DispatchError: {"module":{"index":123,"error":456}}
For polkadot-js, you can retrieve more information about the error via the event and the findMetaError API.
See Stack-overflow for more details: https://substrate.stackexchange.com/questions/947/whats-a-convenient-way-to-look-up-a-dispatcherror-in-polkadot-js
Has been implemented
A DispatchError will refer to a pallet and a member of the pallet's Error enum by index:
DispatchError: {"module":{"index":123,"error":456}}
For polkadot-js, you can retrieve more information about the error via the event and the findMetaError API.
See Stack-overflow for more details: https://substrate.stackexchange.com/questions/947/whats-a-convenient-way-to-look-up-a-dispatcherror-in-polkadot-js