Exception: Dependabot::UpdateNotPossible

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

Instance Method Summary collapse

Constructor Details

#initialize(dependencies) ⇒ UpdateNotPossible

Returns a new instance of UpdateNotPossible.



862
863
864
865
866
867
# File 'lib/dependabot/errors.rb', line 862

def initialize(dependencies)
  @dependencies = dependencies

  msg = "The following dependencies could not be updated: #{@dependencies.join(', ')}"
  super(msg)
end

Instance Attribute Details

#dependenciesObject (readonly)

Returns the value of attribute dependencies.



859
860
861
# File 'lib/dependabot/errors.rb', line 859

def dependencies
  @dependencies
end