Exception: CompilerSelectionError

Inherits:
RuntimeError
  • Object
show all
Defined in:
exceptions.rb

Overview

Raised by CompilerSelector if the formula fails with all of the compilers available on the user’s system.

Instance Method Summary collapse

Constructor Details

#initialize(formula) ⇒ CompilerSelectionError

Returns a new instance of CompilerSelectionError.



559
560
561
562
563
564
# File 'exceptions.rb', line 559

def initialize(formula)
  super <<~EOS
    #{formula.full_name} cannot be built with any available compilers.
    #{DevelopmentTools.custom_installation_instructions}
  EOS
end