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

Function NewNoApiUrlSetError

errors/errors.go:76–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74}
75
76func NewNoApiUrlSetError() error {
77 return errors.New("An API target is not set. Please target the location of your server with `credhub api --server api.example.com` to continue.")
78}
79
80func NewInvalidImportYamlError() error {
81 return errors.New("The referenced file does not contain valid yaml structure. Please update and retry your request.")

Callers 4

ExecuteMethod · 0.92
isAuthenticationErrorFunction · 0.92
ExecuteMethod · 0.92
ValidateConfigApiFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…