Exception: Dependabot::PrivateSourceCertificateFailure

Inherits:
DependabotError
  • Object
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) ⇒ PrivateSourceCertificateFailure

Returns a new instance of PrivateSourceCertificateFailure.



147
148
149
150
# File 'lib/dependabot/errors.rb', line 147

def initialize(source)
  @source = sanitize_source(source)
  super("Could not verify the SSL certificate for #{@source}")
end

Instance Attribute Details

#sourceObject (readonly)

Returns the value of attribute source.



145
146
147
# File 'lib/dependabot/errors.rb', line 145

def source
  @source
end