From a5ee5c86ca8f4deaefcb31141ab98ee0a2943cf1 Mon Sep 17 00:00:00 2001 From: Pavel Ivanov Date: Mon, 3 Apr 2017 09:40:33 +0300 Subject: [PATCH] Fix error code in the readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 44760cf31b..57b70afb1d 100644 --- a/README.md +++ b/README.md @@ -341,7 +341,7 @@ If node_redis emits a library error because of another error, the triggering err ___Error codes___ -node_redis returns a `NR_CLOSED` error code if the clients connection dropped. If a command unresolved command got rejected a `UNERCTAIN_STATE` code is returned. +node_redis returns a `NR_CLOSED` error code if the clients connection dropped. If a command unresolved command got rejected a `UNCERTAIN_STATE` code is returned. A `CONNECTION_BROKEN` error code is used in case node_redis gives up to reconnect. ## client.unref()