Skip to main content

Variable: ErrorEnvelopeSchema

const ErrorEnvelopeSchema: TObject<{ code: TString; params: TOptional<TRecord<TString, TUnknown>>; traceId: TOptional<TString>; }>

Defined in: packages/contracts/src/common.ts:47

The API error envelope. code is a stable machine code; the frontend localizes it. See AGENTS.md §5 / ТЗ §4.2.