massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / requests / exceptions.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2and3/requests/exceptions.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2and3/requests/exceptions.pyi
new file mode 100644 (file)
index 0000000..e4aef55
--- /dev/null
@@ -0,0 +1,26 @@
+# Stubs for requests.exceptions (Python 3)\r
+\r
+from typing import Any\r
+from .packages.urllib3.exceptions import HTTPError as BaseHTTPError\r
+\r
+class RequestException(IOError):\r
+    response = ...  # type: Any\r
+    request = ...  # type: Any\r
+    def __init__(self, *args, **kwargs) -> None: ...\r
+\r
+class HTTPError(RequestException): ...\r
+class ConnectionError(RequestException): ...\r
+class ProxyError(ConnectionError): ...\r
+class SSLError(ConnectionError): ...\r
+class Timeout(RequestException): ...\r
+class ConnectTimeout(ConnectionError, Timeout): ...\r
+class ReadTimeout(Timeout): ...\r
+class URLRequired(RequestException): ...\r
+class TooManyRedirects(RequestException): ...\r
+class MissingSchema(RequestException, ValueError): ...\r
+class InvalidSchema(RequestException, ValueError): ...\r
+class InvalidURL(RequestException, ValueError): ...\r
+class ChunkedEncodingError(RequestException): ...\r
+class ContentDecodingError(RequestException, BaseHTTPError): ...\r
+class StreamConsumedError(RequestException, TypeError): ...\r
+class RetryError(RequestException): ...\r