Exception: Prosody::EventHandlerError Abstract
- Defined in:
- lib/prosody/handler.rb
Overview
This class is abstract.
Abstract base for all errors raised by EventHandler methods. Subclasses must implement ‘#permanent?` to indicate retry behavior.
Direct Known Subclasses
Instance Method Summary collapse
-
#permanent? ⇒ Boolean
Indicates whether this error is permanent (no retry) or transient (retryable).
Instance Method Details
#permanent? ⇒ Boolean
Indicates whether this error is permanent (no retry) or transient (retryable).
24 25 26 |
# File 'lib/prosody/handler.rb', line 24 def permanent? raise NotImplementedError, "#{self.class} must implement #permanent?" end |