← What's New
API error decoding now uses canonical shared decoder
Patch Changes
- b8d7f2f: Read API error messages through api-types' canonical
decodeApiErrorinstead of a hand-rolled envelope reader. Behavior is unchanged — the nested{ error: { code, type, message } }envelope, a legacy flat{ message }body, and malformed payloads (which fall back to the HTTP status text) all resolve exactly as before — but the CLI now shares the published wire-shape decoder rather than duplicating it. Bumps@buildinternet/releases-api-typesto^0.35.0and@buildinternet/releases-coreto^0.25.0(the versions that first export the errors module).