Interface: IntentErrorInput
Defined in: aiui-intent-runtime/src/errors.ts:10
What a failure site reports: a short human message, plus optional context.
Properties
data?
optionaldata?:unknown
Defined in: aiui-intent-runtime/src/errors.ts:25
Optional structured payload — the raw upstream error exactly as the server saw it (an API error object, a close code + reason).
detail?
optionaldetail?:string
Defined in: aiui-intent-runtime/src/errors.ts:20
Optional second line — remediation, an upstream error body, a close reason.
message
message:
string
Defined in: aiui-intent-runtime/src/errors.ts:12
One informative sentence — what failed and, ideally, what to do about it.
source?
optionalsource?:string
Defined in: aiui-intent-runtime/src/errors.ts:18
Where it failed — a coarse category ("connection", "transcription", "correction", …) shown as the toast's badge and used (with message) as the dedupe key. Free-form so new failure sites need no enum change.