MCPcopy
hub / github.com/harness/harness / UnprocessableEntity

Function UnprocessableEntity

app/api/usererror/usererror.go:154–156  ·  view source on GitHub ↗

UnprocessableEntity returns a new user facing unprocessable entity error.

(message string)

Source from the content-addressed store, hash-verified

152
153// UnprocessableEntity returns a new user facing unprocessable entity error.
154func UnprocessableEntity(message string) *Error {
155 return New(http.StatusUnprocessableEntity, message)
156}
157
158// UnprocessableEntityf returns a new user facing unprocessable entity error.
159func UnprocessableEntityf(format string, args ...any) *Error {

Callers 1

TranslateFunction · 0.85

Calls 1

NewFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…