MCPcopy Create free account
hub / github.com/apache/brpc / error_str

Method error_str

src/butil/status.cpp:129–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127};
128
129std::string Status::error_str() const {
130 if (_state == NULL) {
131 static std::string s_ok_str = "OK";
132 return s_ok_str;
133 }
134 return std::string(_state->message, _state->size);
135}
136
137} // namespace butil

Callers 2

TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.36
TEST_FFunction · 0.36