Skip to content

errors: improve new error handling further #15589

Description

@BridgeAR

This is a meta issue to track further improvements to the new error handling as soon as we have all errors converted to the internal/errors.
Please leave comments and suggestions if you know of any further inconveniences.

The following is on my mind

  1. We should go through all new error types and check if it makes sense to consolidate some of those. There are very likely redundancies and having very specific error types is often not that helpful.
  2. It is probably a good idea to check if all new errors reflect the situation properly or if it makes sense to improve the error further by rewording it or by adding e.g. the passed in value (I think this sounds like more work than it actually is).
  3. We might also need new error codes for errors that we ported where we used a not perfectly fitting error code or rewrite some parts so it reflects the error type properly again.
  4. ... more suggestions to come ...

Some issues are e.g.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    errorsIssues and PRs related to JavaScript errors originating in Node.js core.metaIssues and PRs related to the general management of the project.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions