MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / installErrorEnvelope

Function installErrorEnvelope

internal/httpapi/errors.go:159–161  ·  view source on GitHub ↗

installErrorEnvelope wires the envelope constructor globally. It is called once from New(); calling it is idempotent.

()

Source from the content-addressed store, hash-verified

157// installErrorEnvelope wires the envelope constructor globally. It is called
158// once from New(); calling it is idempotent.
159func installErrorEnvelope() {
160 huma.NewError = humaErrorConstructor
161}

Callers 1

NewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected