Exception: GitHub::API::Error 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.
Generic API error.
Direct Known Subclasses
AuthenticationFailedError, HTTPNotFoundError, MissingAuthenticationError, RateLimitExceededError, ValidationFailedError
Instance Attribute Summary collapse
- #github_message ⇒ String? readonly private
Instance Method Summary collapse
- #initialize(message = nil, github_message = T.unsafe(nil)) ⇒ void constructor private
Constructor Details
#initialize(message = nil, github_message = T.unsafe(nil)) ⇒ 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.
49 50 51 52 |
# File 'utils/github/api.rb', line 49 def initialize( = nil, = T.unsafe(nil)) @github_message = T.let(, T.nilable(String)) super() end |
Instance Attribute Details
#github_message ⇒ String? (readonly)
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.
46 47 48 |
# File 'utils/github/api.rb', line 46 def @github_message end |