mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 20:01:29 +08:00
requests: Add JSONDecodeError (#6838)
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
version = "2.26.*"
|
||||
version = "2.27.*"
|
||||
python2 = true
|
||||
|
||||
@@ -7,6 +7,8 @@ class RequestException(IOError):
|
||||
request: Any
|
||||
def __init__(self, *args, **kwargs) -> None: ...
|
||||
|
||||
class InvalidJSONError(RequestException): ...
|
||||
class JSONDecodeError(InvalidJSONError): ...
|
||||
class HTTPError(RequestException): ...
|
||||
class ConnectionError(RequestException): ...
|
||||
class ProxyError(ConnectionError): ...
|
||||
|
||||
Reference in New Issue
Block a user