Exception: Dcmgr::Cli::UnsupportedHypervisorError
- Defined in:
- lib/dcmgr/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/dcmgr/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/dcmgr/cli/errors.rb', line 55 def self.raise(arch,exit_code=100) super end |