Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2805

Improve contract assertion error messages (isTrue/isTrueArgument/notNull)

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: API

      Provide more context on the cause of the error to help users understand what went wrong and why.

      This essentially requires each isTrue/isTrueArgument/notNull use to be evaluated and a user understandable error message emitted in the case of the contract being broken. If possible include details on why there was an error and how to fix / not get the error.

            Assignee:
            Unassigned Unassigned
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: