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.



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

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

Instance Attribute Details

#packageObject (readonly)

Returns the value of attribute package.



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

def package
  @package
end