diff options
| author | Mike McQuaid | 2016-07-29 14:59:09 -0600 | 
|---|---|---|
| committer | Mike McQuaid | 2016-07-29 21:21:29 -0600 | 
| commit | af2101b64d2ee709d8164d54ab8799cd26e406fc (patch) | |
| tree | c150cdf749bfc2f0be4ec03d3835b0a4570bd834 /Library/Homebrew | |
| parent | 80b68add133516e5c0bebc497c07dc0ed95bb68b (diff) | |
| download | brew-af2101b64d2ee709d8164d54ab8799cd26e406fc.tar.bz2 | |
exceptions: add FormulaMethodDeprecatedError.
This will be raised when Homebrew developers try to use formulae that
call deprecated methods.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index af10d3853..6b839ca25 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -56,6 +56,8 @@ end  class FormulaSpecificationError < StandardError; end +class FormulaMethodDeprecatedError < StandardError; end +  class FormulaUnavailableError < RuntimeError    attr_reader :name    attr_accessor :dependent | 
