MCPcopy Create free account
hub / github.com/ChunelFeng/CThreadPool / setStatus

Method setStatus

src/CBasic/CStatus.h:63–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 void setStatus(const std::string& info) {
64 error_code_ = STATUS_ERR;
65 error_info_ = info;
66 }
67
68 void setStatus(int code, const std::string& info) {
69 error_code_ = code;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected