MCPcopy Create free account
hub / github.com/elimity-com/scim / ScimErrorBadRequest

Function ScimErrorBadRequest

errors/error.go:168–173  ·  view source on GitHub ↗

ScimErrorBadRequest returns an 400 SCIM error with the given message.

(msg string)

Source from the content-addressed store, hash-verified

166
167// ScimErrorBadRequest returns an 400 SCIM error with the given message.
168func ScimErrorBadRequest(msg string) ScimError {
169 return ScimError{
170 Detail: msg,
171 Status: http.StatusBadRequest,
172 }
173}
174
175// ScimErrorResourceNotFound returns an 404 SCIM error with a detailed message based on the id.
176func ScimErrorResourceNotFound(id string) ScimError {

Callers 1

ScimErrorBadParamsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…