Exception: Teapot::Command::FetchError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/teapot/command/fetch.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(package, message) ⇒ FetchError

Returns a new instance of FetchError.



28
29
30
31
# File 'lib/teapot/command/fetch.rb', line 28

def initialize(package, message)
	super(message)
	@package = package
end

Instance Attribute Details

#packageObject (readonly)

Returns the value of attribute package.



33
34
35
# File 'lib/teapot/command/fetch.rb', line 33

def package
  @package
end