Exception: RailLine::FailureError
- Inherits:
-
StandardError
- Object
- StandardError
- RailLine::FailureError
- Defined in:
- lib/rail_line/failure_error.rb
Overview
Controls flow of RailLine when encountering a RailLine::Failure
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result) ⇒ FailureError
constructor
A new instance of FailureError.
Constructor Details
#initialize(result) ⇒ FailureError
Returns a new instance of FailureError.
9 10 11 12 13 |
# File 'lib/rail_line/failure_error.rb', line 9 def initialize(result) @result = result super(result.) end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
6 7 8 |
# File 'lib/rail_line/failure_error.rb', line 6 def result @result end |