Exception: NewRelic::Command::CommandFailure
- Inherits:
-
StandardError
- Object
- StandardError
- NewRelic::Command::CommandFailure
- Defined in:
- lib/new_relic/command.rb
Overview
Capture a failure to execute the command.
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(message, opt_parser = nil) ⇒ CommandFailure
constructor
A new instance of CommandFailure.
Constructor Details
#initialize(message, opt_parser = nil) ⇒ CommandFailure
Returns a new instance of CommandFailure.
13 14 15 16 |
# File 'lib/new_relic/command.rb', line 13 def initialize , opt_parser=nil super @options = opt_parser end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
12 13 14 |
# File 'lib/new_relic/command.rb', line 12 def @options end |