Exception: Dependabot::GitDependenciesNotReachable
- Inherits:
-
DependabotError
- Object
- StandardError
- DependabotError
- Dependabot::GitDependenciesNotReachable
- Defined in:
- lib/dependabot/errors.rb
Overview
Dependency level errors #
Constant Summary
Constants inherited from DependabotError
DependabotError::BASIC_AUTH_REGEX, DependabotError::FURY_IO_PATH_REGEX
Instance Attribute Summary collapse
-
#dependency_urls ⇒ Object
readonly
Returns the value of attribute dependency_urls.
Instance Method Summary collapse
-
#initialize(*dependency_urls) ⇒ GitDependenciesNotReachable
constructor
A new instance of GitDependenciesNotReachable.
Constructor Details
#initialize(*dependency_urls) ⇒ GitDependenciesNotReachable
Returns a new instance of GitDependenciesNotReachable.
173 174 175 176 177 178 179 180 |
# File 'lib/dependabot/errors.rb', line 173 def initialize(*dependency_urls) @dependency_urls = dependency_urls.flatten.map { |uri| filter_sensitive_data(uri) } msg = "The following git URLs could not be retrieved: " \ "#{@dependency_urls.join(', ')}" super(msg) end |
Instance Attribute Details
#dependency_urls ⇒ Object (readonly)
Returns the value of attribute dependency_urls.
171 172 173 |
# File 'lib/dependabot/errors.rb', line 171 def dependency_urls @dependency_urls end |