Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
27
def
err_marshal(err: Any) -> PluginError:
28
return
PluginError(2, DEFAULT_MODULE, f
"marshal() failed with err: {err}"
)
29
30
31
def
err_unmarshal(err: Any) -> PluginError:
Callers
nothing calls this directly
Calls
1
PluginError
Class · 0.70
Tested by
no test coverage detected