MCPcopy Create free account
hub / github.com/apache/openwhisk-cli / actionDeleteError

Function actionDeleteError

commands/action.go:1018–1029  ·  view source on GitHub ↗
(entityName string, err error)

Source from the content-addressed store, hash-verified

1016}
1017
1018func actionDeleteError(entityName string, err error) error {
1019 whisk.Debug(whisk.DbgError, "Client.Actions.Delete(%s) error: %s\n", entityName, err)
1020
1021 errMsg := wski18n.T(
1022 "Unable to delete action '{{.name}}': {{.err}}",
1023 map[string]interface{}{
1024 "name": entityName,
1025 "err": err,
1026 })
1027
1028 return nestedError(errMsg, err)
1029}
1030
1031func actionGetError(entityName string, fetchCode bool, err error) error {
1032 whisk.Debug(whisk.DbgError, "Client.Actions.Get(%s, %t) error: %s\n", entityName, fetchCode, err)

Callers 1

action.goFile · 0.85

Calls 1

nestedErrorFunction · 0.85

Tested by

no test coverage detected