RecordError records client errors (ASK, MOVED, handshake failures, etc.) errorType: type of error (e.g., "ASK", "MOVED", "HANDSHAKE_FAILED") statusCode: Redis response status code if available (e.g., "MOVED", "ASK") isInternal: whether this is an internal error retryAttempts: number of retry attempt
(ctx context.Context, errorType string, cn *pool.Conn, statusCode string, isInternal bool, retryAttempts int)
| 60 | // isInternal: whether this is an internal error |
| 61 | // retryAttempts: number of retry attempts made |
| 62 | RecordError(ctx context.Context, errorType string, cn *pool.Conn, statusCode string, isInternal bool, retryAttempts int) |
| 63 | |
| 64 | // RecordMaintenanceNotification records when a maintenance notification is received |
| 65 | // notificationType: the type of notification (e.g., "MOVING", "MIGRATING", etc.) |
no outgoing calls
no test coverage detected