(cause, message, options = {})
| 406 | const kProxyConnectionError = Symbol.for('undici.error.UND_ERR_PRX_CONN') |
| 407 | class ProxyConnectionError extends UndiciError { |
| 408 | constructor (cause, message, options = {}) { |
| 409 | super(message, { cause, ...options }) |
| 410 | this.name = 'ProxyConnectionError' |
| 411 | this.message = message || 'Proxy Connection failed' |
| 412 | this.code = 'UND_ERR_PRX_CONN' |
| 413 | this.cause = cause |
| 414 | } |
| 415 | |
| 416 | static [Symbol.hasInstance] (instance) { |
| 417 | return instance && instance[kProxyConnectionError] === true |
nothing calls this directly
no outgoing calls
no test coverage detected