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

Introduce ServerException class

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

      ServerException should extend RuntimeException. The following classes should extend ServerException:

      • WriteException
      • BulkWriteException (via WriteException)
      • ExecutionTimeoutException

      All errors in the MONGOC_ERROR_SERVER domain should utilize ServerException (or a sub-class).

      We should document that codes on ServerException objects originate from the server. All other error codes originate from the client/driver.

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

              Created:
              Updated:
              Resolved: