[SERVER-31734] Status and DBException should support Error Extra Info Created: 26/Oct/17  Updated: 30/Oct/23  Resolved: 04/Jan/18

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.7.1

Type: New Feature Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Repl 2017-11-13, Repl 2017-12-04, Platforms 2017-12-18, Platforms 2018-01-01, Platforms 2018-01-15
Participants:

 Description   

Extend Status and DBException to support code-specific extra info in addition to the general code and message.



 Comments   
Comment by Githook User [ 04/Jan/18 ]

Author:

{'name': 'Mathias Stearn', 'username': 'RedBeard0531', 'email': 'mathias@10gen.com'}

Message: SERVER-31734 Core ErrorExtraInfo implementation
Branch: master
https://github.com/mongodb/mongo/commit/7f56cb7f21a4d13dd4c4d39d85f23ec77cd28f9b

Comment by Githook User [ 04/Jan/18 ]

Author:

{'name': 'Mathias Stearn', 'username': 'RedBeard0531', 'email': 'mathias@10gen.com'}

Message: SERVER-31734 rewrite massert/uassert to preserve statuses
Branch: master
https://github.com/mongodb/mongo/commit/6b1a6cfe77e3c5a3b2d62a3346d19d26694ed2ed

Comment by Githook User [ 04/Jan/18 ]

Author:

{'name': 'Mathias Stearn', 'username': 'RedBeard0531', 'email': 'mathias@10gen.com'}

Message: SERVER-31734 eliminate non-Status DBException constructor
Branch: master
https://github.com/mongodb/mongo/commit/fdc48462ba15f6923df7b2be48a8176810ac17a4

Comment by Githook User [ 02/Nov/17 ]

Author:

{'name': 'Mathias Stearn', 'username': 'RedBeard0531', 'email': 'mathias@10gen.com'}

Message: SERVER-31734 Add Status::withContext() and addContext()

These prepend the message with a context string, leaving everything else alone.
Branch: master
https://github.com/mongodb/mongo/commit/51ebfe7bb870a1665653ad8088b121706ce3d5b5

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