Exception: CompilerSelectionError

Inherits:
RuntimeError
  • Object
show all
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

Constructor Details

#initialize(formula) ⇒ CompilerSelectionError

Returns a new instance of CompilerSelectionError



488
489
490
491
492
493
# File 'Library/Homebrew/exceptions.rb', line 488

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