Skip to main content

Interface: ErrorSegment

Defined in: core/dist/types/stream-segments/types.d.ts:84

Error segment (for inline error display)

Extends

  • BaseSegment

Properties

agentId?

optional agentId?: string

Defined in: core/dist/types/stream-segments/types.d.ts:18

Agent that produced this segment (populated in group chat contexts)

Inherited from

BaseSegment.agentId


agentName?

optional agentName?: string

Defined in: core/dist/types/stream-segments/types.d.ts:20

Display name of the agent

Inherited from

BaseSegment.agentName


avatarEmoji?

optional avatarEmoji?: string

Defined in: core/dist/types/stream-segments/types.d.ts:22

Avatar emoji for display

Inherited from

BaseSegment.avatarEmoji


details?

optional details?: unknown

Defined in: core/dist/types/stream-segments/types.d.ts:87


id

id: string

Defined in: core/dist/types/stream-segments/types.d.ts:14

Unique identifier for React keys

Inherited from

BaseSegment.id


message

message: string

Defined in: core/dist/types/stream-segments/types.d.ts:86


timestamp

timestamp: number

Defined in: core/dist/types/stream-segments/types.d.ts:16

Timestamp for ordering

Inherited from

BaseSegment.timestamp


type

type: "error"

Defined in: core/dist/types/stream-segments/types.d.ts:85