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

Function RestorePyError

python/pyarrow/src/arrow/python/common.cc:207–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207void RestorePyError(const Status& status) {
208 ARROW_CHECK(IsPyError(status));
209 const auto& detail = checked_cast<const PythonErrorDetail&>(*status.detail());
210 detail.RestorePyError();
211}
212
213// ----------------------------------------------------------------------
214// PyBuffer

Callers 1

TestRestorePyErrorBasicsFunction · 0.85

Calls 2

IsPyErrorFunction · 0.85
RestorePyErrorMethod · 0.80

Tested by 1

TestRestorePyErrorBasicsFunction · 0.68