Replies: 1 comment 5 replies
-
Please provide a concrete example. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
for example,i have a struct like:
when json content is not UserInfo,
json.get<UserInfo>()
will throw type_error exception,how should i avoid use try catch to catch the throwed exception, just get the error message when failed to get?
Beta Was this translation helpful? Give feedback.
All reactions