Exception: Workflow::TransitionHalted
- Defined in:
- lib/workflow/errors.rb
Instance Attribute Summary collapse
-
#halted_because ⇒ Object
readonly
Returns the value of attribute halted_because.
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ TransitionHalted
constructor
A new instance of TransitionHalted.
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_because ⇒ Object (readonly)
Returns the value of attribute halted_because.
6 7 8 |
# File 'lib/workflow/errors.rb', line 6 def halted_because @halted_because end |