Exception: Statesman::TransitionFailedError
- Inherits:
-
StandardError
- Object
- StandardError
- Statesman::TransitionFailedError
- Defined in:
- lib/statesman/exceptions.rb
Instance Attribute Summary collapse
-
#from ⇒ Object
readonly
Returns the value of attribute from.
-
#to ⇒ Object
readonly
Returns the value of attribute to.
Instance Method Summary collapse
-
#initialize(from, to) ⇒ TransitionFailedError
constructor
A new instance of TransitionFailedError.
Constructor Details
#initialize(from, to) ⇒ TransitionFailedError
Returns a new instance of TransitionFailedError.
17 18 19 20 21 |
# File 'lib/statesman/exceptions.rb', line 17 def initialize(from, to) @from = from @to = to super() end |
Instance Attribute Details
#from ⇒ Object (readonly)
Returns the value of attribute from.
23 24 25 |
# File 'lib/statesman/exceptions.rb', line 23 def from @from end |
#to ⇒ Object (readonly)
Returns the value of attribute to.
23 24 25 |
# File 'lib/statesman/exceptions.rb', line 23 def to @to end |