RAILGUN Reloaded
    Preparing search index...

    Fired when a subscriber's handler throws. Carries the originating event name and the captured error. Throwing inside an 'error' handler is caught by the bus and not re-emitted.

    type BusErrorEvent = {
        event: keyof RailgunEventMap;
        error: Error;
        timestamp: Date;
    }
    Index
    event: keyof RailgunEventMap

    Name of the event whose handler threw.

    error: Error

    Value that the handler threw. A thrown value that is not an Error is wrapped in one.

    timestamp: Date

    Time the bus caught the error.