(err ScimError, method string)
| 108 | ) |
| 109 | |
| 110 | func checkApplicability(err ScimError, method string) bool { |
| 111 | methods, ok := applicability[err.Status] |
| 112 | if !ok { |
| 113 | return false |
| 114 | } |
| 115 | |
| 116 | for _, m := range methods { |
| 117 | if m == method { |
| 118 | return true |
| 119 | } |
| 120 | } |
| 121 | return false |
| 122 | } |
| 123 | |
| 124 | // ScimError is a SCIM error response to indicate operation success or failure. |
| 125 | type ScimError struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…