Exception: Bundler::Alive::Client::GitlabApi::AccessTokenNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Bundler::Alive::Client::GitlabApi::AccessTokenNotFoundError
- Defined in:
- lib/bundler/alive/client/gitlab_api.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.
21 22 23 24 25 26 |
# File 'lib/bundler/alive/client/gitlab_api.rb', line 21 def initialize( = nil) = "Environment variable #{ACCESS_TOKEN_ENV_NAME} is not set."\ " Need to set GitLab Personal Access Token to be authenticated at gitlab.com API."\ " See: https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html" super() end |