1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00

Merge pull request #1221 from schfkt/fix-readme

Fix error code in the readme
This commit is contained in:
Kyle J. Davis
2017-04-03 05:40:18 -04:00
committed by GitHub

View File

@@ -341,7 +341,7 @@ If node_redis emits a library error because of another error, the triggering err
___Error codes___ ___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. A `CONNECTION_BROKEN` error code is used in case node_redis gives up to reconnect.
## client.unref() ## client.unref()