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

add test for RootNodesUnavailableError

This commit is contained in:
leibale
2021-12-30 18:32:48 -05:00
parent 8f88eb289b
commit 2203be5fbd
3 changed files with 34 additions and 15 deletions

View File

@@ -39,3 +39,9 @@ export class AuthError extends Error {
super(message);
}
}
export class RootNodesUnavailableError extends Error {
constructor() {
super('All the root nodes are unavailable');
}
}