Exception: Dependabot::PathDependenciesNotReachable

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(*dependencies) ⇒ PathDependenciesNotReachable

Returns a new instance of PathDependenciesNotReachable.



562
563
564
565
566
567
# File 'lib/dependabot/errors.rb', line 562

def initialize(*dependencies)
  @dependencies = T.let(dependencies.flatten, T::Array[String])
  msg = "The following path based dependencies could not be retrieved: " \
        "#{@dependencies.join(', ')}"
  super(msg)
end

Instance Attribute Details

#dependenciesObject (readonly)

Returns the value of attribute dependencies.



559
560
561
# File 'lib/dependabot/errors.rb', line 559

def dependencies
  @dependencies
end