diff options
| author | Shaun Jackman | 2017-09-19 12:22:32 -0700 | 
|---|---|---|
| committer | Shaun Jackman | 2017-09-28 12:29:23 -0700 | 
| commit | 3ed832d4f0465aa9d938d3f4867ad12aaf394710 (patch) | |
| tree | 2cc3303acfdfbc1ed4bc1f9ee76a625fef42e34d /Library/Homebrew/exceptions.rb | |
| parent | 9642ec769e6b187c375964e4206e5ac4014d37fa (diff) | |
| download | brew-3ed832d4f0465aa9d938d3f4867ad12aaf394710.tar.bz2 | |
BottleLoader: Use the formula stored in the bottle
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 5418f9331..22a7fe023 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -555,12 +555,12 @@ end  # raised when a single patch file is not found and apply hasn't been specified  class MissingApplyError < RuntimeError; end -class BottleVersionMismatchError < RuntimeError -  def initialize(bottle_file, bottle_version, formula, formula_version) +class BottleFormulaUnavailableError < RuntimeError +  def initialize(bottle_path, formula_path)      super <<-EOS.undent -      Bottle version mismatch -      Bottle: #{bottle_file} (#{bottle_version}) -      Formula: #{formula.full_name} (#{formula_version}) +      This bottle does not contain the formula file: +        #{bottle_path} +        #{formula_path}      EOS    end  end | 
