Exception: Homebrew::CLI::InvalidConstraintError

Inherits:
UsageError
  • Object
show all
Defined in:
Library/Homebrew/cli/parser.rb

Instance Attribute Summary

Attributes inherited from UsageError

#reason

Instance Method Summary collapse

Methods inherited from UsageError

#to_s

Constructor Details

#initialize(arg1, arg2) ⇒ InvalidConstraintError

Returns a new instance of InvalidConstraintError.


532
533
534
# File 'Library/Homebrew/cli/parser.rb', line 532

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