Class: Delayer::Deferred::ForeignCommandAborted

Inherits:
Error
  • Object
show all
Defined in:
lib/delayer/deferred/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, process:) ⇒ ForeignCommandAborted

Returns a new instance of ForeignCommandAborted.


8
9
10
11
# File 'lib/delayer/deferred/error.rb', line 8

def initialize(message, process:)
  super(message)
  @process = process
end

Instance Attribute Details

#processObject (readonly)

Returns the value of attribute process


7
8
9
# File 'lib/delayer/deferred/error.rb', line 7

def process
  @process
end