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

Function webInputError

commands/action.go:1074–1082  ·  view source on GitHub ↗
(arg string)

Source from the content-addressed store, hash-verified

1072}
1073
1074func webInputError(arg string) error {
1075 errMsg := wski18n.T(
1076 "Invalid argument '{{.arg}}' for --web flag. Valid input consist of 'yes', 'true', 'raw', 'false', or 'no'.",
1077 map[string]interface{}{
1078 "arg": arg,
1079 })
1080
1081 return nonNestedError(errMsg)
1082}
1083
1084func webSecureUsageError() error {
1085 errMsg := wski18n.T("The --web-secure option is only valid when the --web option is enabled.")

Callers 1

webActionFunction · 0.85

Calls 1

nonNestedErrorFunction · 0.85

Tested by

no test coverage detected