Exception: Homebrew::CLI::InvalidConstraintError Private

Inherits:
UsageError show all
Defined in:
cli/parser.rb

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

Instance Attribute Summary

Attributes inherited from UsageError

#reason

Instance Method Summary collapse

Constructor Details

#initialize(arg1, arg2) ⇒ void

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:



757
758
759
# File 'cli/parser.rb', line 757

def initialize(arg1, arg2)
  super "`#{arg1}` and `#{arg2}` cannot be mutually exclusive and mutually dependent simultaneously."
end