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

Method getError

valdi_core/src/valdi_core/cpp/Utils/Value.cpp:401–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399}
400
401Error Value::getError() const noexcept {
402 if (isError()) {
403 return Error(getUnsafeTypedRefPointer<ErrorStorage>());
404 }
405
406 return Error();
407}
408
409Ref<ValueFunction> Value::getFunctionRef() const noexcept {
410 if (getType() == ValueType::Function) {

Callers 11

operator==Method · 0.45
operator<Method · 0.45
fastJsonToValueFunction · 0.45
parseMethod · 0.45
ValueSchema.cppFile · 0.45
hashMethod · 0.45
operator==Method · 0.45
toJavaObjectFunction · 0.45

Calls 2

isErrorFunction · 0.85
ErrorClass · 0.70

Tested by

no test coverage detected