Exception: Bundler::Alive::Client::GithubGraphql::AccessTokenNotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bundler/alive/client/github_graphql.rb

Overview

Access token isn't set error

Instance Method Summary collapse

Constructor Details

#initialize(_message = nil) ⇒ AccessTokenNotFoundError

Returns a new instance of AccessTokenNotFoundError.



17
18
19
20
21
22
# File 'lib/bundler/alive/client/github_graphql.rb', line 17

def initialize(_message = nil)
  message = "Environment variable #{ACCESS_TOKEN_ENV_NAME} is not set."\
            " Need to set GitHub Personal Access Token to be authenticated at GitHub GraphQL API."\
            " See: https://docs.github.com/en/graphql/guides/forming-calls-with-graphql#the-graphql-endpoint"
  super(message)
end