mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-04 22:31:26 +08:00
requests: Add JSONDecodeError (#6838)
This commit is contained in:
@@ -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