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

Method rethrow

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

Source from the content-addressed store, hash-verified

110}
111
112Error Error::rethrow(const StringBox& message) const {
113 return Error(message, StringBox(), this);
114}
115
116Error Error::rethrow(std::string_view messagePrefix) const {
117 return Error(StringCache::getGlobal().makeString(messagePrefix), StringBox(), this);

Callers 15

onErrorMethod · 0.80
prependErrorMethod · 0.80
toSchemaKeyMethod · 0.80
onModuleFailureFunction · 0.80
TESTFunction · 0.80
onRegisterTypefaceErrorFunction · 0.80

Calls 7

getGlobalFunction · 0.85
makeStringMethod · 0.80
getCauseMethod · 0.80
ErrorClass · 0.70
StringBoxClass · 0.70
toStringMethod · 0.65
getMessageMethod · 0.65

Tested by 1

TESTFunction · 0.64