Exception: GitHub::API::MissingAuthenticationError Private
- Defined in:
- utils/github/api.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.
Error when the user has no GitHub API credentials set at all (macOS keychain, GitHub CLI or envvar).
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize ⇒ MissingAuthenticationError
constructor
private
A new instance of MissingAuthenticationError.
Constructor Details
#initialize ⇒ MissingAuthenticationError
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.
Returns a new instance of MissingAuthenticationError.
112 113 114 |
# File 'utils/github/api.rb', line 112 def initialize super NO_CREDENTIALS_MESSAGE end |