(message string)
| 4015 | return next, backoffLevel |
| 4016 | } |
| 4017 | func isRequestScopedNotFoundMessage(message string) bool { |
| 4018 | if message == "" { |
| 4019 | return false |
| 4020 | } |
| 4021 | lower := strings.ToLower(message) |
| 4022 | return strings.Contains(lower, "item with id") && |
| 4023 | strings.Contains(lower, "not found") && |
| 4024 | strings.Contains(lower, "items are not persisted when `store` is set to false") |
| 4025 | } |
| 4026 | |
| 4027 | func isRequestScopedNotFoundResultError(err *Error) bool { |
| 4028 | if err == nil || statusCodeFromResult(err) != http.StatusNotFound { |
no outgoing calls
no test coverage detected