MCPcopy Create free account
hub / github.com/apache/fory / code

Method code

cpp/fory/util/error.h:210–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208 bool ok() const { return ok_; }
209
210 ErrorCode code() const {
211 if (ok_) {
212 return ErrorCode::OK;
213 }
214 return state_->code_;
215 }
216
217 const std::string &message() const {
218 static const std::string empty_msg;

Callers 5

TESTFunction · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 5

TESTFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36