Exception: RuAUR::Error::FailedToCompile

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

Instance Method Summary collapse

Constructor Details

#initialize(package = nil) ⇒ FailedToCompile

Returns a new instance of FailedToCompile.



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

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