diff options
| author | Mike McQuaid | 2017-09-29 13:59:52 +0100 |
|---|---|---|
| committer | GitHub | 2017-09-29 13:59:52 +0100 |
| commit | 296a44195bb8c8c0d5d9b512f10c7ee70f400efb (patch) | |
| tree | 0b814ef58bd8a8476f39b84a9166e39435ac38b4 /Library/Homebrew/exceptions.rb | |
| parent | 978bd61f5883414d4e9813bd2456a984d0ecb0c7 (diff) | |
| parent | c19cc70ac8b87bfe93d2b94e5693584139238e23 (diff) | |
| download | brew-296a44195bb8c8c0d5d9b512f10c7ee70f400efb.tar.bz2 | |
Merge pull request #3176 from sjackman/bottle-formula
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 |
