Uploaded image for project: 'Swift Driver'
  1. Swift Driver
  2. SWIFT-301

Convert invalidCollection, invalidClient, invalidUri, and invalidResponse errors to internalError or fatalError

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0
    • Component/s: None
    • Labels:
      None

      Description

      These "invalidX" errors typically catch when libmongoc returns null (memory allocation failure) or some other internal error occurs. If one of these errors is thrown where it can be recovered from nicely, thrown anĀ internalError. Otherwise, use a fatalError .

        Attachments

          Activity

            People

            • Assignee:
              patrick.freed Patrick Freed
              Reporter:
              patrick.freed Patrick Freed
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: