diff options
| author | Mike McQuaid | 2013-10-21 20:16:41 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2013-10-21 20:16:41 +0100 | 
| commit | b8103eb8fbcd3671dc3244922ae9fc1c9364d391 (patch) | |
| tree | 676b4e01a237502d7efd964f8257f1d45549f49a /Library/Homebrew/exceptions.rb | |
| parent | c1fbed124f80b50eab38d3b917bffb96aa927488 (diff) | |
| download | homebrew-b8103eb8fbcd3671dc3244922ae9fc1c9364d391.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 | 
