Exception: RHC::ConfirmationError

Inherits:
Exception show all
Defined in:
lib/rhc/exceptions.rb

Instance Attribute Summary

Attributes inherited from Exception

#code

Instance Method Summary collapse

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(message="This action requires the --confirm option (or entering 'yes' at a prompt) to run.", code=1)
  super(message, code)
end