exceptions: add FormulaMethodDeprecatedError.
This will be raised when Homebrew developers try to use formulae that call deprecated methods.
This commit is contained in:
parent
80b68add13
commit
af2101b64d
@ -56,6 +56,8 @@ end
|
|||||||
|
|
||||||
class FormulaSpecificationError < StandardError; end
|
class FormulaSpecificationError < StandardError; end
|
||||||
|
|
||||||
|
class FormulaMethodDeprecatedError < StandardError; end
|
||||||
|
|
||||||
class FormulaUnavailableError < RuntimeError
|
class FormulaUnavailableError < RuntimeError
|
||||||
attr_reader :name
|
attr_reader :name
|
||||||
attr_accessor :dependent
|
attr_accessor :dependent
|
||||||
|
Loading…
x
Reference in New Issue
Block a user