[SERVER-17791] extend generate_error_codes.py to generate javascript Created: 30/Mar/15 Updated: 28/Apr/15 Resolved: 28/Apr/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Adam Midvidy | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
It would be nice if generate_error_codes.py also generated a javascript file that looked something like this:
The file could potentially be /jstests/libs/error_codes.js This would help make jstests that exercise error handling more readable. |