[PCBC-170] Document error code, etc. Created: 19/Dec/12  Updated: 30/Jan/13  Resolved: 30/Jan/13

Status: Resolved
Project: Couchbase PHP client library
Component/s: docs
Affects Version/s: 1.1.1
Fix Version/s: None
Security Level: Public

Type: Improvement Priority: Major
Reporter: Tim Smith (Inactive) Assignee: MC Brown (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Someone asked me: "Do you, by any chance know where I can find out what the error code will be if we try to get something that doesn't exist? It used to be Memcached::RES_NOTFOUND"

After searching our docs, my answer was:


Please add this info to the API reference for PHP.

Comment by Tim Smith (Inactive) [ 19/Dec/12 ]
See related bug PCBC-165 "Docs have return type scalar ( Binary object ), which doesn't help much". Return type and error code are related, and both need to be exhaustively documented, but they're not exactly the same thing.

Comment by MC Brown (Inactive) [ 30/Jan/13 ]
I've updated the PHP documentation and tables to be more precise about the information/data return from each call, the possible exceptions raised during the process, and I've provided a list of the error codes for PHP responses. There is some further work to do to ensure the links between the elements are complete, and I should be completing that shortly.
Generated at Thu Nov 27 14:16:25 CST 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.