Exception: Dependabot::PrivateSourceTimedOut

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source) ⇒ PrivateSourceTimedOut

Returns a new instance of PrivateSourceTimedOut.


112
113
114
115
# File 'lib/dependabot/errors.rb', line 112

def initialize(source)
  @source = source.gsub(%r{(?<=\.fury\.io)/[A-Za-z0-9]{20}(?=/)}, "")
  super("The following source timed out: #{source}")
end

Instance Attribute Details

#sourceObject (readonly)

Returns the value of attribute source


110
111
112
# File 'lib/dependabot/errors.rb', line 110

def source
  @source
end