Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-578

Expose result document for failed commands

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: 1.1.2
    • Component/s: None
    • Labels:
      None

      Currently, failed commands result in an exception that contains only the command's error message and code. It'd be nice if we allowed users access to the full command document, even if it was only available through a getter method on the exception.

      This may require a new exception sub-class for command failures that include the result document.

            Assignee:
            katherine.walker@mongodb.com Katherine Walker (Inactive)
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: