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

Method Error

credhub/error.go:14–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12}
13
14func (e *Error) Error() string {
15 if e.Description == "" {
16 return e.Name
17 }
18 return fmt.Sprintf("%s: %s", e.Name, e.Description)
19}
20
21func newCredhubError(name, description string) error {
22 return &Error{

Callers 15

mainFunction · 0.45
get_test.goFile · 0.45
new_test.goFile · 0.45
client_test.goFile · 0.45
checkForServerErrorMethod · 0.45
dumpRequestFunction · 0.45
dumpResponseFunction · 0.45
ExampleCredHubFunction · 0.45

Calls

no outgoing calls

Tested by 1

ExampleCredHubFunction · 0.36