Exception: Bundler::Alive::Client::GithubGraphql::AccessTokenNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Bundler::Alive::Client::GithubGraphql::AccessTokenNotFoundError
- Defined in:
- lib/bundler/alive/client/github_graphql.rb
Overview
Access token isn't set error
Instance Method Summary collapse
-
#initialize(_message = nil) ⇒ AccessTokenNotFoundError
constructor
A new instance of AccessTokenNotFoundError.
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( = nil) = "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() end |