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

Method hasError

valdi_core/src/valdi_core/cpp/Utils/TextParser.cpp:20–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18TextParser::~TextParser() = default;
19
20bool TextParser::hasError() const {
21 return _error.has_value();
22}
23
24Error TextParser::getError() const {
25 SC_ASSERT(hasError());

Callers 2

fastJsonToValueFunction · 0.45
readValueFromJSONReaderFunction · 0.45

Calls 1

has_valueMethod · 0.45

Tested by

no test coverage detected