aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/requests-mock/py3/requests_mock/exceptions.pyi
blob: eb35447228221e44920469bfd09ed39e5cde81bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Stubs for requests_mock.exceptions

from typing import Any

from requests import Request

class MockException(Exception): ...

class NoMockAddress(MockException):
    request: Any = ...
    def __init__(self, request: Request) -> None: ...

class InvalidRequest(MockException): ...