Exception: Workflower::TransitionHalted

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ TransitionHalted

Returns a new instance of TransitionHalted.



7
8
9
10
# File 'lib/workflower/errors.rb', line 7

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

Instance Attribute Details

#halted_becauseObject (readonly)

Returns the value of attribute halted_because.



5
6
7
# File 'lib/workflower/errors.rb', line 5

def halted_because
  @halted_because
end