Exception: Pione::Package::NotFound
- Inherits:
-
PackageError
- Object
- StandardError
- PackageError
- Pione::Package::NotFound
- Defined in:
- lib/pione/package/package-exception.rb
Overview
NotFound is raised when package not found in package database.
Instance Method Summary collapse
-
#initialize(name, editor, tag) ⇒ NotFound
constructor
A new instance of NotFound.
- #message ⇒ Object
Constructor Details
#initialize(name, editor, tag) ⇒ NotFound
Returns a new instance of NotFound.
7 8 9 10 11 |
# File 'lib/pione/package/package-exception.rb', line 7 def initialize(name, editor, tag) @name = name @editor = editor @tag = tag end |
Instance Method Details
#message ⇒ Object
13 14 15 |
# File 'lib/pione/package/package-exception.rb', line 13 def "the package(name: %s, editor: %s, tag: %s) not found" % [@name, @editor, @tag] end |