Exception: Workflower::TransitionHalted
- Defined in:
- lib/workflower/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.
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_because ⇒ Object (readonly)
Returns the value of attribute halted_because.
5 6 7 |
# File 'lib/workflower/errors.rb', line 5 def halted_because @halted_because end |