[PCBC-203] document getResultCode() and getResultMessage() Created: 13/Feb/13 Updated: 21/Feb/13 Resolved: 21/Feb/13
|Project:||Couchbase PHP client library|
|Reporter:||Matt Ingenthron||Assignee:||MC Brown (Inactive)|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
The getResultCode() and getResultMessage() are not currently in the API reference. Also, there should be mention of the couchbase-api.php that is now included in the .zip file distribution.
|Comment by MC Brown (Inactive) [ 15/Feb/13 ]|
According to Trond, the getResultCode() and getResultMessage() methods are deprecated and should not be used in the OO interface, instead the exception raised should be caught. |
I'll check on the couchbase-api.php file and update as necessary.
|Comment by MC Brown (Inactive) [ 18/Feb/13 ]|
|I've downloaded all the packages available, and cannot find the couchbase-api.php file you mention.|
|Comment by MC Brown (Inactive) [ 21/Feb/13 ]|
The PHP docs have been updated with the usage, examples, and codes for getResultCode() and getResultMessage(), in addition to the information on the new Exceptions structure.
The top level for the error handling in PHP can be found here: