[Rpm-maint] [rpm-software-management/rpm] RFE: use exceptions within macro expansion to deliver errors out of band (#495)

Jeff Johnson notifications at github.com
Wed Aug 15 13:22:14 UTC 2018


Exceptions preserve existing interfaces, are mostly not too invasive, and a try ... catch paradigm is widely used and "intuitive" (for some nerdy definition of the word).

otherwise sure, add additional arguments and error indicators to test while unraveling the call stack on the error path if you wish.

Making macro expansion extensible, or trying to merge line-by-line %if directives into recursive string substitution, is bad craziness imho. Have fun!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/495#issuecomment-413195451
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180815/e541ac29/attachment-0001.html>


More information about the Rpm-maint mailing list