Exception: CompilerSelectionError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- CompilerSelectionError
- Defined in:
- Library/Homebrew/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
-
#initialize(formula) ⇒ CompilerSelectionError
constructor
A new instance of CompilerSelectionError.
Constructor Details
#initialize(formula) ⇒ CompilerSelectionError
Returns a new instance of CompilerSelectionError.
519 520 521 522 523 524 |
# File 'Library/Homebrew/exceptions.rb', line 519 def initialize(formula) super <<~EOS #{formula.full_name} cannot be built with any available compilers. #{DevelopmentTools.custom_installation_instructions} EOS end |