forked from dbt-labs/dbt-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexceptions.pyi
49 lines (39 loc) · 1.35 KB
/
exceptions.pyi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Stubs for jsonrpc.exceptions (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Optional, Dict
class JSONRPCError:
serialize: Any = ...
deserialize: Any = ...
code: Any = ...
message: Any = ...
data: Any = ...
_data: Dict[str, Any] = ...
def __init__(self, code: Optional[Any] = ..., message: Optional[Any] = ..., data: Optional[Any] = ...) -> None: ...
@classmethod
def from_json(cls, json_str: Any): ...
@property
def json(self): ...
class JSONRPCParseError(JSONRPCError):
CODE: int = ...
MESSAGE: str = ...
class JSONRPCInvalidRequest(JSONRPCError):
CODE: int = ...
MESSAGE: str = ...
class JSONRPCMethodNotFound(JSONRPCError):
CODE: int = ...
MESSAGE: str = ...
class JSONRPCInvalidParams(JSONRPCError):
CODE: int = ...
MESSAGE: str = ...
class JSONRPCInternalError(JSONRPCError):
CODE: int = ...
MESSAGE: str = ...
class JSONRPCServerError(JSONRPCError):
CODE: int = ...
MESSAGE: str = ...
class JSONRPCException(Exception): ...
class JSONRPCInvalidRequestException(JSONRPCException): ...
class JSONRPCDispatchException(JSONRPCException):
error: Any = ...
def __init__(self, code: Optional[Any] = ..., message: Optional[Any] = ..., data: Optional[Any] = ..., *args: Any, **kwargs: Any) -> None: ...