Exception: TapCoreRemoteMismatchError Private
- Inherits:
-
TapRemoteMismatchError
- Object
- RuntimeError
- TapRemoteMismatchError
- TapCoreRemoteMismatchError
- Defined in:
- exceptions.rb
Overview
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.
Raised when the remote of homebrew/core does not match HOMEBREW_CORE_GIT_REMOTE.
Instance Attribute Summary
Attributes inherited from TapRemoteMismatchError
#actual_remote, #expected_remote, #name
Instance Method Summary collapse
- #message ⇒ Object private
Methods inherited from TapRemoteMismatchError
Constructor Details
This class inherits a constructor from TapRemoteMismatchError
Instance Method Details
#message ⇒ Object
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.
332 333 334 335 336 337 338 |
# File 'exceptions.rb', line 332 def <<~EOS Tap #{name} remote does not match HOMEBREW_CORE_GIT_REMOTE. #{expected_remote} != #{actual_remote} Please set HOMEBREW_CORE_GIT_REMOTE="#{actual_remote}" and run `brew update` instead. EOS end |