Exception: Stealth::Flow::TransitionHalted

Inherits:
Error
  • Object
show all
Defined in:
lib/stealth/flow/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ TransitionHalted



12
13
14
15
# File 'lib/stealth/flow/errors.rb', line 12

def initialize(msg = nil)
  @halted_because = msg
  super msg
end

Instance Attribute Details

#halted_becauseObject (readonly)

Returns the value of attribute halted_because.



10
11
12
# File 'lib/stealth/flow/errors.rb', line 10

def halted_because
  @halted_because
end