Exception: Dependabot::PrivateSourceTimedOut
- Inherits:
-
DependabotError
- Object
- StandardError
- DependabotError
- Dependabot::PrivateSourceTimedOut
- 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
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(source) ⇒ PrivateSourceTimedOut
constructor
A new instance of PrivateSourceTimedOut.
Constructor Details
#initialize(source) ⇒ PrivateSourceTimedOut
Returns a new instance of PrivateSourceTimedOut.
137 138 139 140 |
# File 'lib/dependabot/errors.rb', line 137 def initialize(source) @source = sanitize_source(source) super("The following source timed out: #{@source}") end |
Instance Attribute Details
#source ⇒ Object (readonly)
Returns the value of attribute source.
135 136 137 |
# File 'lib/dependabot/errors.rb', line 135 def source @source end |