exceptions: add FormulaMethodDeprecatedError.

This will be raised when Homebrew developers try to use formulae that
call deprecated methods.
This commit is contained in:
Mike McQuaid 2016-07-29 14:59:09 -06:00
parent 80b68add13
commit af2101b64d

View File

@ -56,6 +56,8 @@ end
class FormulaSpecificationError < StandardError; end
class FormulaMethodDeprecatedError < StandardError; end
class FormulaUnavailableError < RuntimeError
attr_reader :name
attr_accessor :dependent