MCPcopy
hub / github.com/mindverse/Second-Me / error

Method error

lpm_kernel/api/common/responses.py:14–15  ·  view source on GitHub ↗
(message: str, code: int = 1, data: Any = None)

Source from the content-addressed store, hash-verified

12
13 @staticmethod
14 def error(message: str, code: int = 1, data: Any = None) -> dict:
15 return {"code": code, "message": message, "data": data}
16
17
18class ResponseHandler:

Callers 15

__init__Method · 0.80
handle_messageMethod · 0.80
runMethod · 0.80
_missing_Method · 0.80
create_appFunction · 0.80
_analyze_documentMethod · 0.80
analyze_documentMethod · 0.80
analyze_all_documentsMethod · 0.80

Calls

no outgoing calls

Tested by 1

do_testFunction · 0.64