Details
-
Improvement
-
Resolution: Duplicate
-
Minor - P4
-
None
-
None
-
None
-
Service Arch
Description
A common code pattern is to ensure that the result of some operation was Status::OK().
Example:
Instead of this: |
|
|
tassert(3401202, "Error message", status); |
|
|
do this: |
|
|
tassertStatusOK(status);
|
Attachments
Issue Links
- is related to
-
SERVER-53380 Improve assert_util classes and implementation
-
- Backlog
-
- related to
-
SERVER-56831 Complete TODO listed in SERVER-55449
-
- Closed
-