Exception: Dependabot::GitDependencyReferenceNotFound

Inherits:
DependabotError
  • Object
show all
Extended by:
T::Sig
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

Instance Method Summary collapse

Constructor Details

#initialize(dependency) ⇒ GitDependencyReferenceNotFound

Returns a new instance of GitDependencyReferenceNotFound.



647
648
649
650
651
652
653
# File 'lib/dependabot/errors.rb', line 647

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.



644
645
646
# File 'lib/dependabot/errors.rb', line 644

def dependency
  @dependency
end