Skip to content

Commit

Permalink
Merge pull request #2679 from frasermarlow/patch-1
Browse files Browse the repository at this point in the history
Update parse_exceptions.md - correct `json::exception::parse_error`
  • Loading branch information
nlohmann authored Mar 23, 2021
2 parents 098dd6b + 90d51b9 commit 80e7d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/mkdocs/docs/features/parsing/parse_exceptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ try
{
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;
}
Expand Down

0 comments on commit 80e7d6f

Please sign in to comment.