Exception: Dependabot::PrivateSourceTimedOut

Inherits:
DependabotError show all
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(source) ⇒ PrivateSourceTimedOut

Returns a new instance of PrivateSourceTimedOut.



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

def initialize(source)
  @source = sanitize_source(source)
  super("The following source timed out: #{@source}")
end

Instance Attribute Details

#sourceObject (readonly)

Returns the value of attribute source.



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

def source
  @source
end