MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / GraphLiteError

Class GraphLiteError

bindings/python/graphlite/graphlite.py:28–34  ·  view source on GitHub ↗

Exception raised for GraphLite errors

Source from the content-addressed store, hash-verified

26
27
28class GraphLiteError(Exception):
29 """Exception raised for GraphLite errors"""
30
31 def __init__(self, code: ErrorCode, message: str):
32 self.code = code
33 self.message = message
34 super().__init__(f"GraphLite error ({code.name}): {message}")
35
36
37class QueryResult:

Callers 4

__init__Method · 0.70
create_sessionMethod · 0.70
queryMethod · 0.70
close_sessionMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected