[PCBC-203] document getResultCode() and getResultMessage() Created: 13/Feb/13  Updated: 21/Feb/13  Resolved: 21/Feb/13

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

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


 Description   
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.

 Comments   
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:

http://www.couchbase.com/docs/couchbase-sdk-php-1.1/api-reference-summary-errorhandling.html
Generated at Sat Apr 19 18:48:06 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.