[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 | Assignee: | MC Brown |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
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: https://github.com/couchbase/php-ext-couchbase/blob/master/tests/Errors.inc Please add this info to the API reference for PHP. |
| Comments |
| Comment by Tim Smith [ 19/Dec/12 ] |
|
See related bug Thanks! |
| Comment by MC Brown [ 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. |