Exception: Dependabot::GitDependencyReferenceNotFound

Inherits:
DependabotError
  • Object
show all
Defined in:
lib/dependabot/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dependency) ⇒ GitDependencyReferenceNotFound

Returns a new instance of GitDependencyReferenceNotFound.



160
161
162
163
164
165
166
# File 'lib/dependabot/errors.rb', line 160

def initialize(dependency)
  @dependency = dependency

  msg = "The branch or reference specified for #{dependency} could not "\
        "be retrieved"
  super(msg)
end

Instance Attribute Details

#dependencyObject (readonly)

Returns the value of attribute dependency.



158
159
160
# File 'lib/dependabot/errors.rb', line 158

def dependency
  @dependency
end