Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
18
TextParser::~TextParser() = default;
19
20
bool TextParser::hasError() const {
21
return _error.has_value();
22
}
23
24
Error TextParser::getError() const {
25
SC_ASSERT(hasError());
Callers
2
fastJsonToValue
Function · 0.45
readValueFromJSONReader
Function · 0.45
Calls
1
has_value
Method · 0.45
Tested by
no test coverage detected