[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:
Depends
Related
is related to RUBY-1825 Collections cannot be listed in Atlas... Closed
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: SERVER-28245 Add comment to error_codes.err reminding consumers that certain codes are reserved.
Branch: master
https://github.com/mongodb/mongo/commit/ffe661dfdb7500cfd95f385a067a7fa7acf32b67

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?

Generated at Thu Feb 08 04:17:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.