agent-plugin-error-handling / Exports / IErrorHandlingContextData
Interface: IErrorHandlingContextData
Base error context for internal operations REASON: Optional properties and index signature for compatibility with both exactOptionalPropertyTypes and logger constraints ALTERNATIVES_CONSIDERED: Union types (breaks interface compatibility), explicit undefined (still triggers index signature rules), removing optional properties (breaks existing usage), type assertions (loses safety), intersection types (complex propagation) TODO: Consider unified error context type system across all plugins
Indexable
▪ [key: string]: string | number | boolean | undefined
Table of contents
Properties
Properties
executionId
• Optional executionId: string
Defined in
agent-plugin-error-handling/src/types.ts:30
sessionId
• Optional sessionId: string
Defined in
agent-plugin-error-handling/src/types.ts:31
userId
• Optional userId: string
Defined in
agent-plugin-error-handling/src/types.ts:32
attempt
• Optional attempt: number
Defined in
agent-plugin-error-handling/src/types.ts:33
finalAttempt
• Optional finalAttempt: boolean
Defined in
agent-plugin-error-handling/src/types.ts:34
originalError
• Optional originalError: string