[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: SERVER-72974: Replaced unnamed error codes with IDLFailedToParse
Branch: master
https://github.com/mongodb/mongo/commit/b054d0037f57141a1339fd5bbc00db466ad96e84

Generated at Thu Feb 08 06:23:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.