Exception: Dcmgr::Cli::UnsupportedArchError
- 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) ⇒ UnsupportedArchError
constructor
A new instance of UnsupportedArchError.
Constructor Details
#initialize(arch, exit_code = 100) ⇒ UnsupportedArchError
Returns a new instance of UnsupportedArchError.
31 32 33 |
# File 'lib/dcmgr/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/dcmgr/cli/errors.rb', line 35 def self.raise(arch,exit_code=100) super end |