Details

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

      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.

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

        Activity

        Hide
        TimSmith Tim Smith (Inactive) added a comment -

        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.

        Thanks!

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

        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.

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

          People

          • Assignee:
            mccouch MC Brown (Inactive)
            Reporter:
            TimSmith Tim Smith (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes