Help language development. Donate to The Perl Foundation

Cro::Core cpan:JNTHN last updated on 2021-11-12

lib/Cro/UnhandledErrorReporter.pm6
sub set-unhandled-error-reporter(&reporter) is export {
    PROCESS::<$CRO-UNHANDLED-ERROR-REPORTER> = &reporter;
}
sub report-unhandled-error($error) is export {
    PROCESS::<$CRO-UNHANDLED-ERROR-REPORTER>($error)
}
set-unhandled-error-reporter({ .note })