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

Function nonNestedError

commands/action.go:949–955  ·  view source on GitHub ↗
(errorMessage string)

Source from the content-addressed store, hash-verified

947}
948
949func nonNestedError(errorMessage string) error {
950 return whisk.MakeWskError(
951 errors.New(errorMessage),
952 whisk.EXIT_CODE_ERR_USAGE,
953 whisk.DISPLAY_MSG,
954 whisk.DISPLAY_USAGE)
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)

Callers 10

invalidFieldFilterErrorFunction · 0.85
webInputErrorFunction · 0.85
webSecureUsageErrorFunction · 0.85
zipKindErrorFunction · 0.85
noArtifactErrorFunction · 0.85
extensionErrorFunction · 0.85
javaEntryErrorFunction · 0.85
cannotSaveImageErrorFunction · 0.85
cannotSaveSequenceErrorFunction · 0.85
fileExistsErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected