diff options
| author | Mike McQuaid | 2013-10-21 20:16:41 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2013-10-21 20:16:41 +0100 | 
| commit | 1cb7eca3a58a6297c833f4d6f3f8931ebc3a2e52 (patch) | |
| tree | 6cce7429d25995b53a0deaa2ef64fcf479c8e02a /Library/Homebrew/exceptions.rb | |
| parent | 0055e4dc5f1d49838ecc45b4bfe48a0eab529443 (diff) | |
| download | brew-1cb7eca3a58a6297c833f4d6f3f8931ebc3a2e52.tar.bz2 | |
tap: use dedicated exception for already tapped.
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 1ea06381a..9764879bd 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -221,6 +221,11 @@ class CompilerSelectionError < StandardError    end  end +# raised in install_tap +class AlreadyTappedError < RuntimeError +  def initialize; super "Already tapped!" end +end +  # raised in CurlDownloadStrategy.fetch  class CurlDownloadStrategyError < RuntimeError; end  | 
