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

Function ErrorAsException

cpp/src/arrow/type_benchmark.cc:256–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256inline int32_t ErrorAsException(int32_t v) {
257 if (ARROW_PREDICT_FALSE(v == 42)) {
258 throw std::invalid_argument("42");
259 }
260 return v + 1;
261}
262
263ARROW_NO_INLINE int32_t ErrorAsExceptionNoInline(int32_t v) {
264 if (ARROW_PREDICT_FALSE(v == 42)) {

Callers 1

ErrorSchemeExceptionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected