Replies: 2 comments
-
Good question. I've designed the code so that I can easily add customizable context classes in the future. I think this would be the best approach, this way you could add any custom fields to your context. I'll open an issue to formally add this feature. Right now you could use |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
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
-
Hi Steven,
I'm having some JSON data that I have to validate during (de)serialization using
to_json<>/from_json<>
specializations.I'd like to use the error object in a way that it tells me a bit more about parsing problems.
current_file
seems like the only field that I can somehow shoehorn into giving me some extra info, and the current error_codes do not actually match any of my problems (e.g. cardinality errors).Do you have some better ideas?
thx Michi
Beta Was this translation helpful? Give feedback.
All reactions