class Bundler::Fetcher::AuthenticationForbiddenError - bundler: Ruby Standard Library Documentation

# class Bundler::Fetcher::AuthenticationForbiddenError

This error is raised if HTTP authentication is correct, but lacks necessary permissions.

### Public Class Methods

new(remote_uri) click to toggle source
Calls superclass method

    # File 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