exception.beforeReport

Triggered in October\Rain\Foundation\Exception\Handler.

Fires before the exception has been reported

Example usage (prevents the reporting of a given exception)

Event::listen('exception.beforeReport', function (\Exception $exception) {
    if ($exception instanceof \My\Custom\Exception) {
        return false;
    }
});