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.
11 12 13 14 15 |
# File 'lib/statesman/exceptions.rb', line 11 def initialize(from, to) @from = from @to = to super() end |
Instance Attribute Details
#from ⇒ Object (readonly)
Returns the value of attribute from.
17 18 19 |
# File 'lib/statesman/exceptions.rb', line 17 def from @from end |
#to ⇒ Object (readonly)
Returns the value of attribute to.
17 18 19 |
# File 'lib/statesman/exceptions.rb', line 17 def to @to end |