iroha
iroha copied to clipboard
Retain error types in the API response
Currently, only query errors retain their type in the API response.
If other Torii errors do as well instead of being stringified, the client can restore the error response to torii::Error or an equivalent type.
This allows for more reliable error handling
Could be replaced by #1455 in the future