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

Method Init

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

Source from the content-addressed store, hash-verified

99}
100
101ErrorMsg ErrorMsg::Init(TErrorCode::type error, const ArgType& arg0,
102 const ArgType& arg1, const ArgType& arg2, const ArgType& arg3,
103 const ArgType& arg4, const ArgType& arg5, const ArgType& arg6, const ArgType& arg7,
104 const ArgType& arg8, const ArgType& arg9) {
105 ErrorCodesConstants error_strings;
106 ErrorMsg m;
107 m.error_ = error;
108 m.SetErrorMsg(strings::Substitute(error_strings.TErrorMessage[m.error_], arg0, arg1,
109 arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9));
110 return m;
111}
112
113void ErrorMsg::SetErrorMsg(const std::string& msg) {
114 message_ = msg.substr(

Callers

nothing calls this directly

Calls 2

SubstituteFunction · 0.85
SetErrorMsgMethod · 0.80

Tested by

no test coverage detected