(msg)
| 18 | class ProxyError extends TransportError {} |
| 19 | class ProxyTunnelError extends ProxyError { |
| 20 | constructor(msg) { |
| 21 | super(msg); |
| 22 | const match = msg.match(/with status code (\d+)/); |
| 23 | this.status = match ? Number(match[1]) : undefined; |
| 24 | } |
| 25 | } |
| 26 | class ProxyAuthRequired extends ProxyError {} |
| 27 | class UnsupportedProtocol extends TransportError {} |
nothing calls this directly
no outgoing calls
no test coverage detected