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

Function actionParseError

commands/action.go:957–967  ·  view source on GitHub ↗
(cmd *cobra.Command, args []string, err error)

Source from the content-addressed store, hash-verified

955}
956
957func actionParseError(cmd *cobra.Command, args []string, err error) error {
958 whisk.Debug(whisk.DbgError, "parseAction(%s, %s) error: %s\n", cmd.Name(), args, err)
959
960 errMsg := wski18n.T(
961 "Invalid argument(s). {{.required}}",
962 map[string]interface{}{
963 "required": err,
964 })
965
966 return nestedError(errMsg, err)
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)

Callers 1

action.goFile · 0.85

Calls 1

nestedErrorFunction · 0.85

Tested by

no test coverage detected