[SERVER-28245] Reserve error code for generic atlas error Created: 08/Mar/17 Updated: 10/Jun/19 Resolved: 09/Mar/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.5 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Timothy Olsen (Inactive) | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
For the Atlas Free Tier proxy we would like to return a generic error code when there is an error generated internally by the proxy. Please reserve an error code for such a purpose. The error code name can be "AtlasError". |
| Comments |
| Comment by Timothy Olsen (Inactive) [ 10/Mar/17 ] |
|
Ok. Sounds good. |
| Comment by Andy Schwerin [ 09/Mar/17 ] |
|
Error codes 8000-8999 are presently unused. I've added a note reminding server developers not to consumer codes from 4k to 8999. |
| Comment by Githook User [ 09/Mar/17 ] |
|
Author: {u'name': u'Andy Schwerin', u'email': u'Andy Schwerin schwerin@mongodb.com'}Message: |
| Comment by Andy Schwerin [ 09/Mar/17 ] |
|
The UnknownError (8) and BadValue (2) error codes convey little or no semantic meaning. Could the proxy just use those, instead? |