Exception: Bond::FailedMissionError
- Inherits:
-
StandardError
- Object
- StandardError
- Bond::FailedMissionError
- Defined in:
- lib/bond/mission.rb
Overview
Occurs when a mission fails.
Instance Attribute Summary collapse
-
#mission ⇒ Object
readonly
Mission that failed.
Instance Method Summary collapse
-
#initialize(mission) ⇒ FailedMissionError
constructor
A new instance of FailedMissionError.
Constructor Details
#initialize(mission) ⇒ FailedMissionError
Returns a new instance of FailedMissionError.
8 |
# File 'lib/bond/mission.rb', line 8 def initialize(mission); @mission = mission; end |
Instance Attribute Details
#mission ⇒ Object (readonly)
Mission that failed
7 8 9 |
# File 'lib/bond/mission.rb', line 7 def mission @mission end |