Exception: RuAUR::Error::FailedToDownload

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

Instance Method Summary collapse

Constructor Details

#initialize(package = nil) ⇒ FailedToDownload

Returns a new instance of FailedToDownload.



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

def initialize(package = nil)
    super("Failed to download: #{package}") if (package)
    super("Failed to download") if (package.nil?)
end