MCPcopy Create free account
hub / github.com/cloudfoundry/credhub-cli / NewNetworkError

Function NewNetworkError

errors/errors.go:8–10  ·  view source on GitHub ↗
(e error)

Source from the content-addressed store, hash-verified

6)
7
8func NewNetworkError(e error) error {
9 return fmt.Errorf("Error connecting to the targeted API: %#v. Please validate your target and retry your request.", e.Error())
10}
11
12func NewAuthServerNetworkError(e error) error {
13 return fmt.Errorf("Error connecting to the auth server: %#v. Please validate your target and retry your request.", e.Error())

Callers 3

ExecuteMethod · 0.92
ExecuteMethod · 0.92

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…