ErrorEnvelope
Defined in: .upstream/src/core/wire.ts:600
Error envelope rendered for every non-2xx response. Mirrors burrow’s
ErrorEnvelope so an HTTP consumer hitting both surfaces uses one
decoder. code is the stable machine identifier; message is human;
hint is the optional recovery cue from WarrenError.recoveryHint.
Defined ONCE here — the server (src/server/types.ts), the SDK
(src/client/types.ts) and the UI (src/ui/src/api/types.ts) re-export
it. warren-5334 tracked the three hand-mirrored copies this replaces.
Type-only, so the dependency-free-kernel rule is unaffected.
Properties
Section titled “Properties”error:
object
Defined in: .upstream/src/core/wire.ts:601
code:
string
optionalhint?:string
message
Section titled “message”message:
string