Class: WaterDrop::Errors::ProduceManyError
- Inherits:
-
ProduceError
- Object
- WaterDrop::Errors::ProduceManyError
- Defined in:
- lib/waterdrop/errors.rb
Overview
Raised when during messages producing something bad happened inline
Instance Attribute Summary collapse
-
#dispatched ⇒ Object
readonly
Returns the value of attribute dispatched.
Instance Method Summary collapse
-
#initialize(dispatched, message) ⇒ ProduceManyError
constructor
A new instance of ProduceManyError.
Constructor Details
#initialize(dispatched, message) ⇒ ProduceManyError
Returns a new instance of ProduceManyError.
60 61 62 63 |
# File 'lib/waterdrop/errors.rb', line 60 def initialize(dispatched, ) super() @dispatched = dispatched end |
Instance Attribute Details
#dispatched ⇒ Object (readonly)
Returns the value of attribute dispatched.
55 56 57 |
# File 'lib/waterdrop/errors.rb', line 55 def dispatched @dispatched end |