Exception: Cli::UnknownUUIDError

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(uuid, exit_code = 100) ⇒ UnknownUUIDError

Returns a new instance of UnknownUUIDError.



21
22
23
# File 'lib/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/cli/errors.rb', line 25

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