pitrou opened a new issue, #46791: URL: https://github.com/apache/arrow/issues/46791
### 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++ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org