MCPcopy Create free account
hub / github.com/NextDotID/proof_server / errorResp

Function errorResp

controller/main.go:44–48  ·  view source on GitHub ↗
(c *gin.Context, error_code int, err error)

Source from the content-addressed store, hash-verified

42}
43
44func errorResp(c *gin.Context, error_code int, err error) {
45 c.JSON(error_code, ErrorResponse{
46 Message: err.Error(),
47 })
48}
49
50func healthz(c *gin.Context) {
51 platforms := make([]string, 0)

Callers 6

proofChainQueryFunction · 0.70
proofChainChangesFunction · 0.70
proofQueryFunction · 0.70
proofUploadFunction · 0.70
proofPayloadFunction · 0.70
proofExistsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected