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
custom error for path param #255
Comments
There exists |
Awesome, worked perfectly. I'm curious what you think the tweaks need to be. |
|
I’ve also had a hard time coming up with a good name :) . I guess it should somehow convey |
Hello,
When parsing the param where I have a custom type, e.g.
path!(api / MyParam)
, it seems like any error in parsing will result inRejection(NotFound)
. Is it possible for the parsing error to be passed down so that I can deal with it in.recover()
?Thanks!
The text was updated successfully, but these errors were encountered: