Exception: Bundler::Fetcher::AuthenticationForbiddenError
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::Bundler::HTTPError ,
::Bundler::BundlerError ,
StandardError
|
|
Instance Chain:
self,
::Bundler::HTTPError ,
::Bundler::BundlerError ,
StandardError
|
|
Inherits: |
Bundler::HTTPError
|
Defined in: | lib/bundler/fetcher.rb |
Overview
This error is raised if HTTP authentication is correct, but lacks necessary permissions.
Class Method Summary
- .new(remote_uri) ⇒ AuthenticationForbiddenError constructor
::Bundler::BundlerError
- Inherited
Instance Method Summary
::Bundler::HTTPError
- Inherited
Constructor Details
.new(remote_uri) ⇒ AuthenticationForbiddenError
# 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