MCPcopy Index your code
hub / github.com/GoogleCloudPlatform/cloud-sql-proxy / newBadCommandError

Function newBadCommandError

cmd/errors.go:43–48  ·  view source on GitHub ↗
(msg string)

Source from the content-addressed store, hash-verified

41)
42
43func newBadCommandError(msg string) error {
44 return &exitError{
45 Err: errors.New(msg),
46 Code: 1,
47 }
48}
49
50// exitError is an error with an exit code, that's returned when the cmd exits.
51// When possible, try to match these conventions: https://tldp.org/LDP/abs/html/exitcodes.html

Callers 3

initViperFunction · 0.85
parseConfigFunction · 0.85
parseBoolOptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected