Exception: Workflow::TransitionHalted

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ TransitionHalted

Returns a new instance of TransitionHalted.



8
9
10
11
# File 'lib/workflow/errors.rb', line 8

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

Instance Attribute Details

#halted_becauseObject (readonly)

Returns the value of attribute halted_because.



6
7
8
# File 'lib/workflow/errors.rb', line 6

def halted_because
  @halted_because
end