Exception: Teapot::Command::FetchError
- Inherits:
-
StandardError
- Object
- StandardError
- Teapot::Command::FetchError
- Defined in:
- lib/teapot/command/fetch.rb
Overview
Raised when a fetch operation fails.
Instance Attribute Summary collapse
-
#package ⇒ Object
readonly
Returns the value of attribute package.
Instance Method Summary collapse
-
#initialize(package, message) ⇒ FetchError
constructor
A new instance of FetchError.
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, ) super() @package = package end |
Instance Attribute Details
#package ⇒ Object (readonly)
Returns the value of attribute package.
20 21 22 |
# File 'lib/teapot/command/fetch.rb', line 20 def package @package end |