MCPcopy Create free account
hub / github.com/Snapchat/Valdi / mustGetMapProperty

Method mustGetMapProperty

valdi_core/src/valdi_core/cpp/Utils/Marshaller.cpp:400–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398}
399
400void Marshaller::mustGetMapProperty(const StringBox& key, int index, Marshaller::GetMapPropertyFlags flags) {
401 if (!getMapProperty(key, index, flags)) {
402 if (_exceptionTracker) {
403 _exceptionTracker.onError(Error(STRING_FORMAT("Object has no property '{}'", key)));
404 }
405 }
406}
407
408void Marshaller::putMapProperty(int index) {
409 // Only string keys are supported in ValueMap at the moment

Callers 1

jniGetMapPropertyFunction · 0.80

Calls 2

ErrorClass · 0.70
onErrorMethod · 0.65

Tested by

no test coverage detected