Exception: Dcmgr::Cli::UnknownUUIDError

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

Instance Attribute Summary

Attributes inherited from Error

#exit_code

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(uuid, exit_code = 100) ⇒ UnknownUUIDError

Returns a new instance of UnknownUUIDError.



21
22
23
# File 'lib/dcmgr/cli/errors.rb', line 21

def initialize(uuid,exit_code=100)
  super("Unknown UUID: '#{uuid}'.")
end

Class Method Details

.raise(uuid, exit_code = 100) ⇒ Object



25
26
27
# File 'lib/dcmgr/cli/errors.rb', line 25

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