Raised when connecting via a proxy that isn't valid.
| 178 | |
| 179 | |
| 180 | class InvalidProxy(WebSocketException): |
| 181 | """ |
| 182 | Raised when connecting via a proxy that isn't valid. |
| 183 | |
| 184 | """ |
| 185 | |
| 186 | def __init__(self, proxy: str, msg: str) -> None: |
| 187 | self.proxy = proxy |
| 188 | self.msg = msg |
| 189 | |
| 190 | def __str__(self) -> str: |
| 191 | return f"{self.proxy} isn't a valid proxy: {self.msg}" |
| 192 | |
| 193 | |
| 194 | class InvalidHandshake(WebSocketException): |
no outgoing calls
searching dependent graphs…