ScimErrorBadRequest returns an 400 SCIM error with the given message.
(msg string)
| 166 | |
| 167 | // ScimErrorBadRequest returns an 400 SCIM error with the given message. |
| 168 | func 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. |
| 176 | func ScimErrorResourceNotFound(id string) ScimError { |
no outgoing calls
no test coverage detected
searching dependent graphs…