Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-40358

Add assertion helpers like 'StatusOKWithContext' to all macros

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Query 2019-12-16, Query 2019-12-30

    Description

      We have some very useful assertion macros like uassertStatusOKWithContext, but the API is not consistent across the various assertions like 'invariant' and 'fassert'. I'd personally like to see at least invariant be brought up to par with the helpers available for 'uasset', including:

      • invariantStatusOK
      • invariantStatusOKWithContext
      • I guess invariantStatusOKWithLocation for completeness?

      Attachments

        Activity

          People

            eric.cox@mongodb.com Eric Cox (Inactive)
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: