MCPcopy
hub / github.com/harness/harness / InvalidArgument

Function InvalidArgument

errors/status.go:137–139  ·  view source on GitHub ↗

InvalidArgument is a helper function to return an invalid argument Error.

(format string, args ...interface{})

Source from the content-addressed store, hash-verified

135
136// InvalidArgument is a helper function to return an invalid argument Error.
137func InvalidArgument(format string, args ...interface{}) *Error {
138 return Format(StatusInvalidArgument, format, args...)
139}
140
141// Internal is a helper function to return an internal Error.
142func Internal(err error, format string, args ...interface{}) *Error {

Callers 15

proxyInternalFunction · 0.92
ValidateMethod · 0.92
sanitizeLabelTextFunction · 0.92
sanitizeLabelTypeFunction · 0.92
sanitizeLabelColorFunction · 0.92
ValidateMethod · 0.92
RevertMethod · 0.92
CreateBranchMethod · 0.92
ValidateMethod · 0.92
DiffCutMethod · 0.92
ValidateMethod · 0.92

Calls 1

FormatFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…