Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-3292

Better errors for node driver

    • Type: Icon: Epic Epic
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Not Needed
    • Done
    • Better Errors
    • 16
    • 16
    • 16
    • 100
    • Hide

      Summary: This epic aims to improve the Node error reporting experience to improve user experience of using the driver.

      Engineer(s): Warren James, Andy Mina
      2020-08-24: Setting target date to 2021-08-24

      • The interns' last day was 8/20.
      • Neal is currently working on a small documentation clarification around this work, (NODE-3569) which should be complete today/tomorrow.
      • Keeping final cost at 16 weeks as the remaining docs ticket is trivial to complete.
      • The remaining tickets in this epic are "nice to haves" and will be removed and either closed as "won't fix" or placed in the backlog.

      Engineer(s): Warren James, Andy Mina
      2020-08-11: Keeping target date of 2021-08-20

      • This is the project the Node interns will be working on this summer, and they continue to make strong progress.
      • Error rebucketing work is complete (merged in with NODE-3421)
      • MongoDriverError instances being replaced unblocked (NODE-3404 and NODE-3405 in review)
      • In repo documentation is currently being updated (NODE-3509)
      • Unwrap writeConcernError in progress (NODE-3337)

      Engineer(s): Warren James, Andy Mina
      2020-07-28: Setting target date to 2021-08-20

      • This is the project the Node interns will be working on this summer.
      • Andy and Warren have been steadily progressing on this work. They have completed the implementation of MongoAPIError class and its children and currently have MongoRuntimeError and its children in review.

      Engineer(s): Warren James, Andy Mina
      Cost in Eng Weeks: 16 Original | 4 To Date | 16 Est Final
      2020-07-14: Setting target date to 2021-08-20

      • This is the project the Node interns will be working on this summer.
      • The scope doc has been approved and the team has hammered out a design for the error improvements.
      • Andy and Warren have begun implementation, initially focusing on implementing MongoAPIError and its children as well as the children for MongoRuntimeError.

      Engineer(s): Warren James, Andy Mina
      Cost in Eng Weeks: 16 Original | 0 To Date | 16 Est Final
      2020-06-30: Setting target date to 2021-08-20

      • This is the project the Node interns will be working on this summer.
      • Neal and Eric have been working with Andy and Warren to scope out the document and start designing the error naming convention, hierarchy, and structure.
      • The scope doc is in final review pending Dan's review as we sent the doc to Bernie early for the round of team review.

      Show
      Summary: This epic aims to improve the Node error reporting experience to improve user experience of using the driver. Engineer(s): Warren James, Andy Mina 2020-08-24: Setting target date to 2021-08-24 The interns' last day was 8/20. Neal is currently working on a small documentation clarification around this work, ( NODE-3569 ) which should be complete today/tomorrow. Keeping final cost at 16 weeks as the remaining docs ticket is trivial to complete. The remaining tickets in this epic are "nice to haves" and will be removed and either closed as "won't fix" or placed in the backlog. Engineer(s): Warren James, Andy Mina 2020-08-11: Keeping target date of 2021-08-20 This is the project the Node interns will be working on this summer, and they continue to make strong progress. Error rebucketing work is complete (merged in with NODE-3421 ) MongoDriverError instances being replaced unblocked ( NODE-3404 and NODE-3405 in review) In repo documentation is currently being updated ( NODE-3509 ) Unwrap writeConcernError in progress ( NODE-3337 ) Engineer(s): Warren James, Andy Mina 2020-07-28: Setting target date to 2021-08-20 This is the project the Node interns will be working on this summer. Andy and Warren have been steadily progressing on this work. They have completed the implementation of MongoAPIError class and its children and currently have MongoRuntimeError and its children in review. Engineer(s): Warren James, Andy Mina Cost in Eng Weeks: 16 Original | 4 To Date | 16 Est Final 2020-07-14: Setting target date to 2021-08-20 This is the project the Node interns will be working on this summer. The scope doc has been approved and the team has hammered out a design for the error improvements. Andy and Warren have begun implementation, initially focusing on implementing MongoAPIError and its children as well as the children for MongoRuntimeError. Engineer(s): Warren James, Andy Mina Cost in Eng Weeks: 16 Original | 0 To Date | 16 Est Final 2020-06-30: Setting target date to 2021-08-20 This is the project the Node interns will be working on this summer. Neal and Eric have been working with Andy and Warren to scope out the document and start designing the error naming convention, hierarchy, and structure. The scope doc is in final review pending Dan's review as we sent the doc to Bernie early for the round of team review.

      We should try to standardize the different kinds of errors currently thrown from the driver to improve the user experience.

      Consider differentiating server-side errors from driver errors and subdividing driver errors into more descriptive types (e.g., validation errors, authentication errors, etc).

      Try to implement similar patterns to other drivers, such as Swift (see Swift MongoError class)

            Assignee:
            Unassigned Unassigned
            Reporter:
            daria.pardue@mongodb.com Daria Pardue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              8 weeks, 1 day