Exception: Teapot::Command::FetchError

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

Overview

Raised when a fetch operation fails.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(package, message) ⇒ FetchError

Returns a new instance of FetchError.



15
16
17
18
# File 'lib/teapot/command/fetch.rb', line 15

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

Instance Attribute Details

#packageObject (readonly)

Returns the value of attribute package.



20
21
22
# File 'lib/teapot/command/fetch.rb', line 20

def package
  @package
end