1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

fix for e11256854e - should not retry connecting if failed due to wrong auth

This commit is contained in:
leibale
2021-12-09 02:48:10 -05:00
parent ac808ea781
commit b70aa4e470
3 changed files with 16 additions and 3 deletions

View File

@@ -33,3 +33,9 @@ export class SocketClosedUnexpectedlyError extends Error {
super('Socket closed unexpectedly');
}
}
export class AuthError extends Error {
constructor(message: string) {
super(message);
}
}