From af2101b64d2ee709d8164d54ab8799cd26e406fc Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 29 Jul 2016 14:59:09 -0600 Subject: [PATCH] exceptions: add FormulaMethodDeprecatedError. This will be raised when Homebrew developers try to use formulae that call deprecated methods. --- Library/Homebrew/exceptions.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index af10d3853f..6b839ca255 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