[SERVER-72974] Use named error codes for IDL parser duplicate and missing fields Created: 18/Jan/23 Updated: 29/Oct/23 Resolved: 05/Sep/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.10 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Jason Chan | Assignee: | Erin McNulty |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Service Arch
|
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Service Arch 2023-09-04, Service Arch 2023-09-18 |
| Participants: |
| Description |
|
The IDL parser currently returns unnamed error codes when failing to parse due to duplicate or missing fields. There are enough references to these error codes in the codebase that we should consider giving it a name like ErrorCodes::IDLFailedToParse. |
| Comments |
| Comment by Githook User [ 31/Aug/23 ] |
|
Author: {'name': 'Erin McNulty', 'email': 'erin.mcnulty@mongodb.com', 'username': 'erin2722'}Message: |