Exception: Bond::FailedMissionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bond/mission.rb

Overview

Occurs when a mission fails.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#missionObject (readonly)

Mission that failed



7
8
9
# File 'lib/bond/mission.rb', line 7

def mission
  @mission
end