-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Service Arch
Currently statuses/assertions can have either a named error code or a unique number. Named error codes are useful for cases which are semantically the same from the user's point of view. However for diagnosability/debuggability, unique numbers can be very helpful because you can immediately tell exactly where an error came from. So it might be nice to be able to include a unique number together with a named code, for instance in a uassert.
- is related to
-
SERVER-73524 Report a histogram of error codes rather than just an error counter in serverStatus
- Open
-
SERVER-73561 Consider exception origin when counting assertions
- Closed