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

Function err_marshal

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

Source from the content-addressed store, hash-verified

25
26
27def err_marshal(err: Any) -> PluginError:
28 return PluginError(2, DEFAULT_MODULE, f"marshal() failed with err: {err}")
29
30
31def err_unmarshal(err: Any) -> PluginError:

Callers

nothing calls this directly

Calls 1

PluginErrorClass · 0.70

Tested by

no test coverage detected