Exception: Cli::UnsupportedArchError

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) ⇒ UnsupportedArchError

Returns a new instance of UnsupportedArchError.



31
32
33
# File 'lib/cli/errors.rb', line 31

def initialize(arch,exit_code=100)
  super("Unsupported arch type: '#{arch}'.")
end

Class Method Details

.raise(arch, exit_code = 100) ⇒ Object



35
36
37
# File 'lib/cli/errors.rb', line 35

def self.raise(arch,exit_code=100)
  super
end