Exception: Axn::Internal::EarlyCompletion

Inherits:
StandardError
  • Object
show all
Defined in:
lib/axn/exceptions.rb

Overview

Internal only -- rescued before Axn::Result is returned

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, standalone: false) ⇒ EarlyCompletion

Returns a new instance of EarlyCompletion.



91
92
93
94
# File 'lib/axn/exceptions.rb', line 91

def initialize(message = nil, standalone: false)
  @standalone = standalone
  super(message)
end

Instance Attribute Details

#standaloneObject (readonly)

Returns the value of attribute standalone.



89
90
91
# File 'lib/axn/exceptions.rb', line 89

def standalone
  @standalone
end