API cosmetics: rename getLastError() to getLastStatus()

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      See http://groups.google.com/group/mongodb-user/browse_frm/thread/9799532f62e698fe

      getLastError() should be renamed to getLastStatus() - because that's what it really does.
      Then the driver APIs should also grow a getLastStatus(). Currently they only expose an error() method (afaik) which can be misleading due to the name similarity to the underlying getLastError().

            Assignee:
            Michael Dirolf (Inactive)
            Reporter:
            Jim Jones
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: