MCPcopy Create free account
hub / github.com/CPChain/chain / jsonError

Struct jsonError

api/rpc/json.go:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53type jsonError struct {
54 Code int `json:"code"`
55 Message string `json:"message"`
56 Data interface{} `json:"data,omitempty"`
57}
58
59type jsonErrResponse struct {
60 Version string `json:"jsonrpc"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected