Exception: Cli::UnsupportedHypervisorError

Inherits:
Error
  • Object
show all
Defined in:
lib/cli/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#exit_code

Class Method Summary collapse

Instance Method Summary collapse

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