Replies: 1 comment
-
No, that's not possible. You're going to have to write your own |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to 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.
-
Summary
I have a handler that looks like this:
This works fine in general: I pattern match
payload
. If the input is correct, I get anAction
and if not aJsonRejection
with further details about the problem.What I'm missing is the original input data. I would like to store it for debugging purposes and further inspection. But I did not find a way to access it. I expected
body_text
to provide that information, but it is only the detailed error message.Is there a (simple?) way to access original input data if I get a
JsonRejection
?axum version
0.8.3
Beta Was this translation helpful? Give feedback.
All reactions