Exception: Bundler::Fetcher::AuthenticationForbiddenError
- Inherits:
-
HTTPError
- Object
- StandardError
- BundlerError
- HTTPError
- Bundler::Fetcher::AuthenticationForbiddenError
- Defined in:
- lib/bundler/fetcher.rb
Overview
This error is raised if HTTP authentication is correct, but lacks necessary permissions.
Instance Method Summary collapse
-
#initialize(remote_uri) ⇒ AuthenticationForbiddenError
constructor
A new instance of AuthenticationForbiddenError.
Methods inherited from HTTPError
Methods inherited from BundlerError
Constructor Details
#initialize(remote_uri) ⇒ AuthenticationForbiddenError
Returns a new instance of AuthenticationForbiddenError.
69 70 71 72 73 |
# File 'lib/bundler/fetcher.rb', line 69 def initialize(remote_uri) remote_uri = filter_uri(remote_uri) super "Access token could not be authenticated for #{remote_uri}.\n" \ "Make sure it's valid and has the necessary scopes configured." end |