Replies: 1 comment 3 replies
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey, currently there is no recommended ways. One of the possible ways to fix this would be to allow each hander to return |
3 replies
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
These handlers' function signature does not support any Result-like returns, so I have to wrap all the codes inside a closure and handling the ? throwed errors manually.
It seems that using
unwraporexpectin these handlers will cause the entire application panic, so using a closure wrapper is the only way I found.Is it any officially recommended way?
All reactions