🦋 Welcome to the IRC channel of the core developers of the Raku Programming Language (raku.org #rakulang). This channel is logged for the purpose of history keeping about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Logs available at irclogs.raku.org/raku-dev/live.html | For MoarVM see #moarvm
Set by lizmat on 8 June 2022.
Geth rakudo/lizmat-exception-warn: c093f70678 | (Elizabeth Mattijsen)++ | src/core.c/Exception.pm6
Add a .warn method to exceptions

This will allow one to turn an exception into a warning:
   $ raku -e 'CATCH { .warn }; say "before"; die "foo"; say "after"'
   before
   foo
   in block <unit> at -e line 1
   after
Inspired by Xliff: irclogs.raku.org/raku/2022-09-23.html#10:45
11:26
rakudo: lizmat++ created pull request #5065:
Add a .warn method to exceptions