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

Function actionInsertError

commands/action.go:969–980  ·  view source on GitHub ↗
(action *whisk.Action, err error)

Source from the content-addressed store, hash-verified

967}
968
969func actionInsertError(action *whisk.Action, err error) error {
970 whisk.Debug(whisk.DbgError, "Client.Actions.Insert(%#v, false) error: %s\n", action, err)
971
972 errMsg := wski18n.T(
973 "Unable to create action '{{.name}}': {{.err}}",
974 map[string]interface{}{
975 "name": action.Name,
976 "err": err,
977 })
978
979 return nestedError(errMsg, err)
980}
981
982func getJSONFromStringsParamError(params []string, keyValueFormat bool, err error) error {
983 whisk.Debug(whisk.DbgError, "getJSONFromStrings(%#v, %t) failed: %s\n", params, keyValueFormat, err)

Callers 1

action.goFile · 0.85

Calls 1

nestedErrorFunction · 0.85

Tested by

no test coverage detected