Unverified Commit 80e7d6fd authored by Niels Lohmann's avatar Niels Lohmann Committed by GitHub

Merge pull request #2679 from frasermarlow/patch-1

Update parse_exceptions.md - correct `json::exception::parse_error`
parents 098dd6bf 90d51b92
...@@ -8,7 +8,7 @@ try ...@@ -8,7 +8,7 @@ try
{ {
j = json::parse(my_input); j = json::parse(my_input);
} }
catch (json::exception::parse_error& ex) catch (json::parse_error& ex)
{ {
std::cerr << "parse error at byte " << ex.byte << std::endl; std::cerr << "parse error at byte " << ex.byte << std::endl;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment