Files
ziti/controller/response
Paul Lorenz c0109319a6 Rename the ApiError.Code uses that compiled as method values. For #4401
- the peer controller error encoder read err.Code into a JSON map, which after the AppCode rename
  is a bound method that json.Marshal rejects, so every forwarded API error fell to the generic
  path; it now encodes AppCode and, as on 2.0.x, sends a cause with nothing to marshal as text
- the REST responder logged e.Code as a field for the same reason
- the perf-tagged rate limiter test compared the method value to a code string
- extracts encodeApiError and tests that the encoding succeeds and carries the code as a string
2026-09-16 11:49:54 -04:00
..
2023-09-28 23:34:28 -04:00