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

Function actionGetError

commands/action.go:1031–1042  ·  view source on GitHub ↗
(entityName string, fetchCode bool, err error)

Source from the content-addressed store, hash-verified

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)
1033
1034 errMsg := wski18n.T(
1035 "Unable to get action '{{.name}}': {{.err}}",
1036 map[string]interface{}{
1037 "name": entityName,
1038 "err": err,
1039 })
1040
1041 return nestedError(errMsg, err)
1042}
1043
1044func handleInvocationError(err error, entityName string) error {
1045 whisk.Debug(

Callers 3

action.goFile · 0.85
parseActionFunction · 0.85
augmentActionFunction · 0.85

Calls 1

nestedErrorFunction · 0.85

Tested by

no test coverage detected