class
Pulsar::ErrorHandler
- Pulsar::ErrorHandler
- Reference
- Object
Overview
Configuration for handling errors in event subscribers
Defined in:
pulsar/error_handler.crClass Method Summary
- .custom_handler : Exception, Pulsar::BaseEvent -> Nil
- .custom_handler=(custom_handler : Exception, Pulsar::BaseEvent -> Nil)
-
.handle(exception : Exception, event : Pulsar::BaseEvent)
Handle an error from a subscriber
- .strategy : Strategy
- .strategy=(strategy : Strategy)
Class Method Detail
def self.handle(exception : Exception, event : Pulsar::BaseEvent)
#
Handle an error from a subscriber