(cause, message, options = {})
| 387 | const kSecureProxyConnectionError = Symbol.for('undici.error.UND_ERR_PRX_TLS') |
| 388 | class SecureProxyConnectionError extends UndiciError { |
| 389 | constructor (cause, message, options = {}) { |
| 390 | super(message, { cause, ...options }) |
| 391 | this.name = 'SecureProxyConnectionError' |
| 392 | this.message = message || 'Secure Proxy Connection failed' |
| 393 | this.code = 'UND_ERR_PRX_TLS' |
| 394 | this.cause = cause |
| 395 | } |
| 396 | |
| 397 | static [Symbol.hasInstance] (instance) { |
| 398 | return instance && instance[kSecureProxyConnectionError] === true |
nothing calls this directly
no outgoing calls
no test coverage detected