This is a bad API design by YAMLCPP IMHO. It means either map access is fraught 
or you have to do it twice, e.g.
```
if (!node[NH_strategy]) { ...
} else { // error - missing key
}
```
I suspect, though, the thrown exception has the data you need and you don't 
have to catch and rethrow for every access.

[ Full content available at: https://github.com/apache/trafficserver/pull/4099 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to