MCPcopy Create free account
hub / github.com/apache/arrow / ToString

Method ToString

cpp/src/arrow/status.cc:110–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110std::string Status::ToString() const {
111 std::string result(CodeAsString());
112 if (state_ == nullptr) {
113 return result;
114 }
115 result += ": ";
116 result += state_->msg;
117 if (state_->detail != nullptr) {
118 result += ". Detail: ";
119 result += state_->detail->ToString();
120 }
121
122 return result;
123}
124
125std::string Status::ToStringWithoutContextLines() const {
126 auto message = ToString();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected