MCPcopy Create free account
hub / github.com/nodejs/undici / constructor

Method constructor

lib/core/errors.js:444–449  ·  view source on GitHub ↗
(message, code)

Source from the content-addressed store, hash-verified

442
443class Socks5ProxyError extends UndiciError {
444 constructor (message, code) {
445 super(message)
446 this.name = 'Socks5ProxyError'
447 this.message = message || 'SOCKS5 proxy error'
448 this.code = code || 'UND_ERR_SOCKS5'
449 }
450}
451
452const kMessageSizeExceededError = Symbol.for('undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected