MCPcopy Create free account
hub / github.com/apache/impala / SetErrorMsg

Method SetErrorMsg

be/src/util/error-msg.cc:113–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void ErrorMsg::SetErrorMsg(const std::string& msg) {
114 message_ = msg.substr(
115 0, std::min(msg.size(), static_cast<size_t>(ErrorMsg::MAX_ERROR_MESSAGE_LEN)));
116}
117
118string ErrorMsg::GetFullMessageDetails() const {
119 stringstream ss;

Callers 3

StatusFromThriftFunction · 0.80
StatusFromProtoFunction · 0.80
InitMethod · 0.80

Calls 3

minFunction · 0.85
substrMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected