### Describe the enhancement requested In https://github.com/apache/arrow/pull/46711#discussion_r2139246309 it was mentioned that the macro `RETURN_NOT_OK_ELSE` is confusing and can easily be misunderstood. Adding a `Status::OrElse` method that calls a functor on error would decouple both concerns, allowing more flexible idioms with `Status`. ### Component(s) C++
Activity
pitrou commentedon Jun 30, 2025
Issue resolved by pull request 46792
#46792