feat(node/net): add SocketAddress (#17154)

Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com>
This commit is contained in:
Don Isaac
2025-02-24 11:18:16 -08:00
committed by GitHub
parent 7a35567b45
commit 61edc58362
28 changed files with 1617 additions and 202 deletions

View File

@@ -483,6 +483,9 @@ pub const Code = enum {
/// There was a bug in Node.js or incorrect usage of Node.js internals. To fix the error, open an issue at https://github.com/nodejs/node/issues.
ERR_INTERNAL_ASSERTION,
/// The provided IP address was not valid for the given address family.
ERR_INVALID_ADDRESS,
/// The provided address family is not understood by the Node.js API.
ERR_INVALID_ADDRESS_FAMILY,