Skip to content

request: expose Node's error system #47521

Closed
@cjihrig

Description

@cjihrig

What is the problem this feature will solve?

It would allow userland to leverage core's error system. It would also make discussions around vendoring ecosystem modules into core go more smoothly (if package authors were willing to use it).

I am willing to do the work if people think this is a good idea.

What is the feature you are proposing to solve the problem?

Exposing the constructors for https://nodejs.org/api/errors.html#nodejs-error-codes to userland.

What alternatives have you considered?

Status quo

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions