Class: WaterDrop::Errors::ProduceManyError

Inherits:
ProduceError
  • Object
show all
Defined in:
lib/waterdrop/errors.rb

Overview

Raised when during messages producing something bad happened inline

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dispatched, message) ⇒ ProduceManyError



69
70
71
72
# File 'lib/waterdrop/errors.rb', line 69

def initialize(dispatched, message)
  super(message)
  @dispatched = dispatched
end

Instance Attribute Details

#dispatchedObject (readonly)

Returns the value of attribute dispatched.



64
65
66
# File 'lib/waterdrop/errors.rb', line 64

def dispatched
  @dispatched
end