### ----------------------------------------------------
### -- Cro::Core
### -- Licenses: Artistic-2.0
### -- Authors: Jonathan Worthington <jnthn@jnthn.net>
### -- File: lib/Cro/UnhandledErrorReporter.rakumod
### ----------------------------------------------------
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 })


