| 44 | } |
| 45 | |
| 46 | string BatchResponse::getErrorMessage(Json::Value &id) { |
| 47 | if (std::find(errorResponses.begin(), errorResponses.end(), id) != errorResponses.end()) { |
| 48 | return responses[id]["message"].asString(); |
| 49 | } |
| 50 | return ""; |
| 51 | } |
| 52 | |
| 53 | string BatchResponse::getErrorMessage(int id) { |
| 54 | Json::Value i = id; |
no test coverage detected