| 99 | } |
| 100 | |
| 101 | ErrorMsg 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 | |
| 113 | void ErrorMsg::SetErrorMsg(const std::string& msg) { |
| 114 | message_ = msg.substr( |
nothing calls this directly
no test coverage detected