error_messages_test.cpp
2.32 KB
-
Improve error messages on operator[] or as<> (#656) · 01226975
Invalid access via operator[] or as<> will now print the offending key, if possible. For example: a: x: 1 y: 2 node["a"]["z"].as<int>() will say that the key "z" was invalid.
bedapisl committed