Description
Documentation shows that exceptions should be thrown from the ctor if the connection isn't successfully established, but that's not how things currently behave. See:
Also, there was some question of whether or not getResultCode() should be used instead of an exception handling path.
This shows that getResultCode() and getResultMessage() are deprecated
http://www.couchbase.com/docs/couchbase-sdk-php-1.1/api-reference-summary-errors.html
Attachments
For Gerrit Dashboard: PCBC-236 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
26666,6 | PCBC-236: Throw exceptions from constructor | master | php-ext-couchbase | Status: MERGED | +2 | +1 |