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