Exception: Apollo::TransitionHalted
- Inherits:
-
Exception
- Object
- Exception
- Apollo::TransitionHalted
- Defined in:
- lib/apollo.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.
31 32 33 34 |
# File 'lib/apollo.rb', line 31 def initialize(msg = nil) @halted_because = msg super msg end |
Instance Attribute Details
#halted_because ⇒ Object (readonly)
Returns the value of attribute halted_because.
29 30 31 |
# File 'lib/apollo.rb', line 29 def halted_because @halted_because end |