diff options
author | eldritch horrors <pennae@lix.systems> | 2024-04-04 17:31:01 +0200 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-04-05 20:13:02 +0000 |
commit | 6c777476c9e97abfc5232f0707985caf6df2baea (patch) | |
tree | 84209c1b850eb85d4fa575fff9da3345b4ee4ff5 /src/libutil/regex-combinators.hh | |
parent | 5081109592778d6026669db831758b61e5b43c33 (diff) |
libutil: guard Finally against invalid exception throws
throwing exceptions is fine, but throwing exceptions during exception
handling is hard enough to do correctly that we should just forbid it
entirely out of an overabundance of caution. in cases where terminate
is the correct answer the users of Finally must call it manually now.
Change-Id: Ia51a2cb4a0638500550bfabc89cf01a6d8098983
Diffstat (limited to 'src/libutil/regex-combinators.hh')
0 files changed, 0 insertions, 0 deletions