Thrown by any BullMQ Redis adapter (ioredis, node-redis, Bun, …) when a
command fails because the connection is already closed or was closed
mid-flight.
Using a single well-known class lets isNotConnectionError do a
structural instanceof check rather than fragile message-substring matching.
Thrown by any BullMQ Redis adapter (ioredis, node-redis, Bun, …) when a command fails because the connection is already closed or was closed mid-flight.
Using a single well-known class lets isNotConnectionError do a structural
instanceofcheck rather than fragile message-substring matching.