MCPcopy Create free account
hub / github.com/bytedance/bolt / codeAsString

Method codeAsString

bolt/common/base/Status.cpp:93–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93std::string_view Status::codeAsString() const {
94 if (state_ == nullptr) {
95 return "OK";
96 }
97 return ::bytedance::bolt::toString(code());
98}
99
100std::string Status::toString() const {
101 std::string result(codeAsString());

Callers 1

TESTFunction · 0.80

Calls 1

toStringFunction · 0.70

Tested by 1

TESTFunction · 0.64