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

Method GetStatus

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

GetStatus implements huma.StatusError so Huma writes the right status.

()

Source from the content-addressed store, hash-verified

55
56// GetStatus implements huma.StatusError so Huma writes the right status.
57func (e *ErrorEnvelope) GetStatus() int { return e.status }
58
59// Code returns the machine-branchable code (used by tests and middleware).
60func (e *ErrorEnvelope) Code() string { return e.Err.Code }

Callers 4

Calls

no outgoing calls

Tested by 4