Exception: RuAUR::Error::PackageNotFound

Inherits:
RuAUR::Error
  • Object
show all
Defined in:
lib/ruaur/error/package_not_found.rb

Instance Method Summary collapse

Constructor Details

#initialize(package = nil) ⇒ PackageNotFound

Returns a new instance of PackageNotFound.



2
3
4
5
# File 'lib/ruaur/error/package_not_found.rb', line 2

def initialize(package = nil)
    super("Package not found: #{package}") if (package)
    super("No package was specified") if (package.nil?)
end