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

Function from_json_error

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

Convert json.JSONDecodeError to SerializationError.

(error: json.JSONDecodeError)

Source from the content-addressed store, hash-verified

90
91
92def from_json_error(error: json.JSONDecodeError) -> SerializationError:
93 """
94 Convert json.JSONDecodeError to SerializationError.
95 """
96 return SerializationError.from_json_error(error)
97
98
99def from_io_error(error: OSError) -> IoError:

Callers

nothing calls this directly

Calls 1

from_json_errorMethod · 0.80

Tested by

no test coverage detected