MCPcopy Create free account
hub / github.com/canopy-network/canopy / err_unmarshal

Function err_unmarshal

plugin/python/contract/error.py:31–32  ·  view source on GitHub ↗
(err: Any)

Source from the content-addressed store, hash-verified

29
30
31def err_unmarshal(err: Any) -> PluginError:
32 return PluginError(3, DEFAULT_MODULE, f"unmarshal() failed with err: {err}")
33
34
35def err_failed_plugin_read(err: Any) -> PluginError:

Callers 2

marshalFunction · 0.85
unmarshalFunction · 0.85

Calls 1

PluginErrorClass · 0.70

Tested by

no test coverage detected