-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Labels
deprecationsIssues and PRs related to deprecations.Issues and PRs related to deprecations.
Description
process.binding('uv') currently yields some information that I don’t think we expose as public API:
uv.errname(), which can be trivially replaced byutil.getSystemErrorName(), but also- a full list of mapped UV error codes and
getErrorMap()to access them in Map form (with theirstrerror()’ed description)
We could decide to drop the second bit from the API, but I think it’s worth exposing at least a full list of libuv error codes somewhere, and then implement a backwards-compatible replacement for process.binding('uv') in terms of that new API.
jasnell and juanarbol
Metadata
Metadata
Assignees
Labels
deprecationsIssues and PRs related to deprecations.Issues and PRs related to deprecations.