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

Method SetError

r/src/safe-call-into-r.h:112–112  ·  view source on GitHub ↗

Save an error (possibly with an error token generated from a cpp11::unwind_exception) so that it can be properly handled after some cleanup code has run (e.g., cancelling some futures or waiting for them to finish).

Source from the content-addressed store, hash-verified

110 // after some cleanup code has run (e.g., cancelling some futures
111 // or waiting for them to finish).
112 void SetError(arrow::Status status) { status_ = status; }
113
114 void ResetError() { status_ = arrow::Status::OK(); }
115

Callers 1

SafeCallIntoRAsyncFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected