[JAVA-2805] Improve contract assertion error messages (isTrue/isTrueArgument/notNull) Created: 13/Mar/18 Updated: 30/Mar/22 |
|
| Status: | Backlog |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Ross Lawley | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | newgrad | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
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. |