Exception: Qs::DispatchJobHandler::DispatchError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/qs/dispatch_job_handler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, failed_dispatches) ⇒ DispatchError

Returns a new instance of DispatchError.



71
72
73
74
# File 'lib/qs/dispatch_job_handler.rb', line 71

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

Instance Attribute Details

#failed_dispatchesObject (readonly)

Returns the value of attribute failed_dispatches.



69
70
71
# File 'lib/qs/dispatch_job_handler.rb', line 69

def failed_dispatches
  @failed_dispatches
end