-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export RuntimeError for RPC calls #426
Comments
Related: |
#427 Seems perfectly reasonable to me and would enable you to create an instance of the Merging that issue closed this; is that fair or would you prefer this stay open? Hmm
Which adds Deserialize to add types, but I somehow suspect it wouldn't work! If you know the shape of your DispatchError, I suppose you could manually write a deserialize function or wrapping type to do so; it depends on what your aim is really? |
This RPC returns
Result<(), DispatchError>
in the response body. I don't think it is currently possible to cast the generatedDispatchError
toRuntimeError
because it is not exported.The text was updated successfully, but these errors were encountered: