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

Function ErrorAsException

cpp/src/arrow/type_benchmark.cc:242–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242inline int32_t ErrorAsException(int32_t v) {
243 if (ARROW_PREDICT_FALSE(v == 42)) {
244 throw std::invalid_argument("42");
245 }
246 return v + 1;
247}
248
249ARROW_NO_INLINE int32_t ErrorAsExceptionNoInline(int32_t v) {
250 if (ARROW_PREDICT_FALSE(v == 42)) {

Callers 1

ErrorSchemeExceptionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected