Exception: Dependabot::PrivateSourceCertificateFailure
- Inherits:
-
DependabotError
- Object
- StandardError
- DependabotError
- Dependabot::PrivateSourceCertificateFailure
- 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) ⇒ PrivateSourceCertificateFailure
constructor
A new instance of PrivateSourceCertificateFailure.
Constructor Details
#initialize(source) ⇒ PrivateSourceCertificateFailure
Returns a new instance of PrivateSourceCertificateFailure.
170 171 172 173 |
# File 'lib/dependabot/errors.rb', line 170 def initialize(source) @source = sanitize_source(source) super("Could not verify the SSL certificate for #{@source}") end |
Instance Attribute Details
#source ⇒ Object (readonly)
Returns the value of attribute source.
168 169 170 |
# File 'lib/dependabot/errors.rb', line 168 def source @source end |