From 13c20b1b648cfdc1d596818d86a087e3ce8f5243 Mon Sep 17 00:00:00 2001 From: Jonathan Boulle Date: Wed, 24 Sep 2014 15:59:40 -0700 Subject: [PATCH] docs: update error codes in api document --- Documentation/api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/api.md b/Documentation/api.md index ab2a83afa..181199cef 100644 --- a/Documentation/api.md +++ b/Documentation/api.md @@ -206,7 +206,7 @@ If the TTL has expired, the key will have been deleted, and you will be returned "cause": "/foo", "errorCode": 100, "index": 6, - "message": "Key Not Found" + "message": "Key not found" } ``` @@ -457,7 +457,7 @@ The error code explains the problem: "cause": "/foo", "errorCode": 105, "index": 39776, - "message": "Already exists" + "message": "Key already exists" } ``` @@ -474,7 +474,7 @@ This will try to compare the previous value of the key and the previous value we "cause": "[two != one]", "errorCode": 101, "index": 8, - "message": "Test Failed" + "message": "Compare failed" } ```