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

Convert invalidCursor errors to commandErrors, logicErrors and invalidArgument errors

    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

      invalidCursor is currently used as a catch-all for errors related to cursors. This includes errors in the creation of the cursor and errors that occur in calls to getMore.

      We should distinguish between these by appropriately throwing either commandErrors, logicErrors, or invalidArgument errors.

        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: