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

Function WinErrorFromStatus

cpp/src/arrow/util/io_util.cc:492–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

490}
491
492int WinErrorFromStatus(const Status& status) {
493#if _WIN32
494 const auto detail = status.detail();
495 if (detail != nullptr && detail->type_id() == kWinErrorDetailTypeId) {
496 return checked_cast<const WinErrorDetail&>(*detail).errnum();
497 }
498#endif
499 return 0;
500}
501
502int SignalFromStatus(const Status& status) {
503 const auto detail = status.detail();

Callers 2

TESTFunction · 0.85
TEST_FFunction · 0.85

Calls 2

type_idMethod · 0.45
errnumMethod · 0.45

Tested by 2

TESTFunction · 0.68
TEST_FFunction · 0.68