aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-07-29 14:59:09 -0600
committerMike McQuaid2016-07-29 21:21:29 -0600
commitaf2101b64d2ee709d8164d54ab8799cd26e406fc (patch)
treec150cdf749bfc2f0be4ec03d3835b0a4570bd834 /Library/Homebrew/exceptions.rb
parent80b68add133516e5c0bebc497c07dc0ed95bb68b (diff)
downloadbrew-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/exceptions.rb')
-rw-r--r--Library/Homebrew/exceptions.rb2
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