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

Method set_error_msg

cpp/src/gandiva/execution_context.h:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 std::string get_error() const { return error_msg_; }
32
33 void set_error_msg(const char* error_msg) {
34 // Remember the first error only.
35 if (error_msg_.empty()) {
36 error_msg_ = std::string(error_msg);
37 }
38 }
39
40 bool has_error() const { return !error_msg_.empty(); }
41

Callers 8

return_errorMethod · 0.80
operator()Method · 0.80
return_error_with_causeFunction · 0.80
return_errorMethod · 0.80
return_errorFunction · 0.80
operator()Function · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected