IsExecAbortError checks if an error is a Redis EXECABORT error, even if wrapped. EXECABORT errors occur when a transaction is aborted.
(err error)
| 355 | // IsExecAbortError checks if an error is a Redis EXECABORT error, even if wrapped. |
| 356 | // EXECABORT errors occur when a transaction is aborted. |
| 357 | func IsExecAbortError(err error) bool { |
| 358 | return proto.IsExecAbortError(err) |
| 359 | } |
| 360 | |
| 361 | // IsOOMError checks if an error is a Redis OOM (Out Of Memory) error, even if wrapped. |
| 362 | // OOM errors occur when Redis is out of memory. |
no test coverage detected