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

Class SerializationError

sdk-python/src/graphlite_sdk/error.py:36–44  ·  view source on GitHub ↗

Serialization/deserialization errors

Source from the content-addressed store, hash-verified

34 super().__init__(f"Transaction error: {message}")
35
36class SerializationError(GraphLiteError):
37 """Serialization/deserialization errors"""
38 def __init__(self, message: str):
39 super().__init__(f"Serialization error: {message}")
40
41 @classmethod
42 def from_json_error(cls, error: json.JSONDecodeError) -> "SerializationError":
43 """Create SerializationError from json.JSONDecodeError"""
44 return cls(f"JSON error: {error.msg} at line {error.lineno}, column {error.colno}")
45
46class TypeConversionError(GraphLiteError):
47 """Type conversion errors"""

Callers 15

fromMethod · 0.85
get_graph_typeMethod · 0.85
saveMethod · 0.85
loadMethod · 0.85
get_graph_typeMethod · 0.85
saveMethod · 0.85
loadMethod · 0.85
fromMethod · 0.85
saveMethod · 0.85
saveMethod · 0.85
saveMethod · 0.85
deserialize_rowsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected