Exception: Homebrew::CLI::InvalidConstraintError

Inherits:
UsageError
  • Object
show all
Defined in:
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.



664
665
666
# File 'cli/parser.rb', line 664

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