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

Method Error

valdi_core/src/valdi_core/cpp/Utils/Error.cpp:42–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41Error::Error() = default;
42Error::Error(StringBox message) : Error(std::move(message), StringBox(), nullptr) {}
43Error::Error(const std::string_view& message) : Error(StringCache::getGlobal().makeString(message)) {}
44Error::Error(const char* message) : Error(STRING_LITERAL(message), StringBox(), nullptr) {}
45Error::Error(StringBox message, StringBox stackTrace, const Error* cause)

Callers

nothing calls this directly

Calls 3

getGlobalFunction · 0.85
makeStringMethod · 0.80
StringBoxClass · 0.70

Tested by

no test coverage detected