Exception: Dependabot::GitDependencyReferenceNotFound
- Inherits:
-
DependabotError
- Object
- StandardError
- DependabotError
- Dependabot::GitDependencyReferenceNotFound
- Defined in:
- lib/dependabot/errors.rb
Constant Summary
Constants inherited from DependabotError
DependabotError::BASIC_AUTH_REGEX, DependabotError::FURY_IO_PATH_REGEX
Instance Attribute Summary collapse
-
#dependency ⇒ Object
readonly
Returns the value of attribute dependency.
Instance Method Summary collapse
-
#initialize(dependency) ⇒ GitDependencyReferenceNotFound
constructor
A new instance of GitDependencyReferenceNotFound.
Constructor Details
#initialize(dependency) ⇒ GitDependencyReferenceNotFound
Returns a new instance of GitDependencyReferenceNotFound.
209 210 211 212 213 214 215 |
# File 'lib/dependabot/errors.rb', line 209 def initialize(dependency) @dependency = dependency msg = "The branch or reference specified for #{@dependency} could not " \ "be retrieved" super(msg) end |
Instance Attribute Details
#dependency ⇒ Object (readonly)
Returns the value of attribute dependency.
207 208 209 |
# File 'lib/dependabot/errors.rb', line 207 def dependency @dependency end |