Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-203

document getResultCode() and getResultMessage()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: docs
    • Security Level: Public
    • Labels:
      None

      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.

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        mccouch MC Brown (Inactive) added a comment -

        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.

        Show
        mccouch MC Brown (Inactive) added a comment - 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.
        Hide
        mccouch MC Brown (Inactive) added a comment -

        I've downloaded all the packages available, and cannot find the couchbase-api.php file you mention.

        Show
        mccouch MC Brown (Inactive) added a comment - I've downloaded all the packages available, and cannot find the couchbase-api.php file you mention.
        Hide
        mccouch MC Brown (Inactive) added a comment -

        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

        Show
        mccouch MC Brown (Inactive) added a comment - 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

          People

          • Assignee:
            mccouch MC Brown (Inactive)
            Reporter:
            ingenthr Matt Ingenthron
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes