You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
fix #2205 - reject commands in connect phase when disableOfflineQueue
is true
This commit is contained in:
@@ -22,6 +22,12 @@ export class ClientClosedError extends Error {
|
||||
}
|
||||
}
|
||||
|
||||
export class ClientOfflineError extends Error {
|
||||
constructor() {
|
||||
super('The client is offline');
|
||||
}
|
||||
}
|
||||
|
||||
export class DisconnectsClientError extends Error {
|
||||
constructor() {
|
||||
super('Disconnects client');
|
||||
|
Reference in New Issue
Block a user