Exception: RHC::ConfirmationError
- Defined in:
- lib/rhc/exceptions.rb
Instance Attribute Summary
Attributes inherited from Exception
Instance Method Summary collapse
-
#initialize(message = "This action requires the --confirm option (or entering 'yes' at a prompt) to run.", code = 1) ⇒ ConfirmationError
constructor
A new instance of ConfirmationError.
Constructor Details
#initialize(message = "This action requires the --confirm option (or entering 'yes' at a prompt) to run.", code = 1) ⇒ ConfirmationError
Returns a new instance of ConfirmationError.
11 12 13 |
# File 'lib/rhc/exceptions.rb', line 11 def initialize(="This action requires the --confirm option (or entering 'yes' at a prompt) to run.", code=1) super(, code) end |