MCPcopy
hub / github.com/cloudfoundry/cli / NewInvalidSSLCert

Function NewInvalidSSLCert

cf/errors/invalid_ssl_cert_error.go:12–17  ·  view source on GitHub ↗
(url, reason string)

Source from the content-addressed store, hash-verified

10}
11
12func NewInvalidSSLCert(url, reason string) *InvalidSSLCert {
13 return &InvalidSSLCert{
14 URL: url,
15 Reason: reason,
16 }
17}
18
19func (err *InvalidSSLCert) Error() string {
20 message := T("Received invalid SSL certificate from ") + err.URL

Callers 4

login_test.goFile · 0.92
api_test.goFile · 0.92
logs_test.goFile · 0.92
WrapNetworkErrorsFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected