Replies: 2 comments
-
Or maybe the problem lies here:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry, it was my fault, did not handle exception properly in my function chain. |
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 guys,
I've started using adl_serializer for custom conversion to and from json. It works good, however the problem I am facing is that I would like to throw an exception in case the conversion is not possible. But adl_serializer seems to be expecting noexcept member functions, so after throwing exception - terminate() is being called.
An example:
How to handle a use case where conversion is not possible?
Beta Was this translation helpful? Give feedback.
All reactions