Exception: Mistri::EventDelivery::Failure
- Inherits:
-
StandardError
- Object
- StandardError
- Mistri::EventDelivery::Failure
- Defined in:
- lib/mistri/event_delivery.rb
Overview
Tags a subscriber failure with the boundary that first observed it.
Instance Attribute Summary collapse
-
#boundary ⇒ Object
readonly
Returns the value of attribute boundary.
-
#original ⇒ Object
readonly
Returns the value of attribute original.
Instance Method Summary collapse
-
#initialize(original, boundary) ⇒ Failure
constructor
A new instance of Failure.
Constructor Details
#initialize(original, boundary) ⇒ Failure
Returns a new instance of Failure.
10 11 12 13 14 15 |
# File 'lib/mistri/event_delivery.rb', line 10 def initialize(original, boundary) @original = original @boundary = boundary super(original.) set_backtrace(original.backtrace) end |
Instance Attribute Details
#boundary ⇒ Object (readonly)
Returns the value of attribute boundary.
8 9 10 |
# File 'lib/mistri/event_delivery.rb', line 8 def boundary @boundary end |
#original ⇒ Object (readonly)
Returns the value of attribute original.
8 9 10 |
# File 'lib/mistri/event_delivery.rb', line 8 def original @original end |