Exception: Cli::UnsupportedHypervisorError
- Defined in:
- lib/cli/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arch, exit_code = 100) ⇒ UnsupportedHypervisorError
constructor
A new instance of UnsupportedHypervisorError.
Constructor Details
#initialize(arch, exit_code = 100) ⇒ UnsupportedHypervisorError
Returns a new instance of UnsupportedHypervisorError.
51 52 53 |
# File 'lib/cli/errors.rb', line 51 def initialize(arch,exit_code=100) super("Unsupported hypervisor type: '#{arch}'.") end |
Class Method Details
.raise(arch, exit_code = 100) ⇒ Object
55 56 57 |
# File 'lib/cli/errors.rb', line 55 def self.raise(arch,exit_code=100) super end |