massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / stripe / stripe / oauth_error.pyi
1 from typing import Any
2
3 from stripe.error import StripeError as StripeError
4
5 class OAuthError(StripeError):
6     def __init__(
7         self,
8         code,
9         description,
10         http_body: Any | None = ...,
11         http_status: Any | None = ...,
12         json_body: Any | None = ...,
13         headers: Any | None = ...,
14     ) -> None: ...
15     def construct_error_object(self): ...
16
17 class InvalidClientError(OAuthError): ...
18 class InvalidGrantError(OAuthError): ...
19 class InvalidRequestError(OAuthError): ...
20 class InvalidScopeError(OAuthError): ...
21 class UnsupportedGrantTypeError(OAuthError): ...
22 class UnsupportedResponseTypeError(OAuthError): ...