Exception: RuAUR::Error::FailedToExtract

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

Instance Method Summary collapse

Constructor Details

#initialize(package = nil) ⇒ FailedToExtract

Returns a new instance of FailedToExtract.



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

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