Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/commandoperator/cmdop-sdk
/ __init__
Method
__init__
python/src/cmdop/errors.py:108–109 ·
view source on GitHub ↗
(self, code: str, message: str)
Source
from the content-addressed store, hash-verified
106
code = error_code_name(info.code)
107
details: Any = None
108
if
info.HasField(
"details_json"
):
109
try
:
110
details = json.loads(info.details_json)
111
except
ValueError:
112
details = info.details_json
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected