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

Method what

valdi_core/src/valdi_core/cpp/Utils/Exception.cpp:21–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19Exception::Exception(Error error) : _error(std::move(error)) {}
20
21const char* Exception::what() const noexcept {
22 return _error.getMessage().getCStr();
23}
24
25const StringBox& Exception::getMessage() const {
26 return _error.getMessage();

Callers 1

throw_exceptionFunction · 0.45

Calls 2

getMessageMethod · 0.65
getCStrMethod · 0.45

Tested by

no test coverage detected