Closed
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.