pipelineErrInjector returns a fixed error for the MULTI/EXEC batch without executing it, simulating a server error reported before EXEC runs (such as -LOADING on the MULTI reply). The watched keys stay armed, so Close must still send UNWATCH.
| 99 | // -LOADING on the MULTI reply). The watched keys stay armed, so Close must |
| 100 | // still send UNWATCH. |
| 101 | type pipelineErrInjector struct{ err error } |
| 102 | |
| 103 | func (h *pipelineErrInjector) DialHook(next redis.DialHook) redis.DialHook { return next } |
| 104 |
nothing calls this directly
no outgoing calls
no test coverage detected