📝 overworked documentation

Replacing references to std exceptions with user-defined exceptions.
Also changed some examples to the new exceptions.
This commit is contained in:
Niels Lohmann committed 2017-03-08 21:03:19 +01:00
1 parent 9374eaa013
commit fe71e7df1f
24 files changed
+325 -128

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ int main()
{
auto r3 = value.get_ref<json::number_float_t&>();
}
catch (std::domain_error& ex)
catch (json::type_error& ex)
{
std::cout << ex.what() << '\n';
}