Skip to content

AIDK API Reference / aidk-shared / DTProcedureErrorEvent

Interface: DTProcedureErrorEvent ​

Defined in: packages/shared/src/devtools.ts:307

Emitted when a procedure fails with an error.

Extends ​

Properties ​

PropertyTypeDescriptionOverridesInherited fromDefined in
error{ message: string; name: string; stack?: string; }---packages/shared/src/devtools.ts:312
error.messagestring---packages/shared/src/devtools.ts:314
error.namestring---packages/shared/src/devtools.ts:313
error.stack?string---packages/shared/src/devtools.ts:315
executionIdstringUUID of the execution context-DevToolsEventBase.executionIdpackages/shared/src/devtools.ts:32
metrics?Record<string, number>Metrics accumulated before failure--packages/shared/src/devtools.ts:318
parentExecutionId?stringParent execution ID for nested executions (fork, spawn, component_tool)-DevToolsEventBase.parentExecutionIdpackages/shared/src/devtools.ts:43
procedureIdstringCurrent procedure IDDevToolsEventBase.procedureId-packages/shared/src/devtools.ts:309
procedureName?string---packages/shared/src/devtools.ts:310
requestId?stringRequest ID for this execution context-DevToolsEventBase.requestIdpackages/shared/src/devtools.ts:41
status"failed" | "cancelled"---packages/shared/src/devtools.ts:311
tenantId?stringTenant ID from context (for multi-tenant dashboards)-DevToolsEventBase.tenantIdpackages/shared/src/devtools.ts:49
tick?numberEngine tick number when this procedure failed (if within a tick)--packages/shared/src/devtools.ts:320
timestampnumberUnix timestamp in milliseconds-DevToolsEventBase.timestamppackages/shared/src/devtools.ts:34
traceId?stringTrace ID for distributed tracing correlation-DevToolsEventBase.traceIdpackages/shared/src/devtools.ts:39
type"procedure_error"Discriminator for event typeDevToolsEventBase.type-packages/shared/src/devtools.ts:308
userId?stringUser ID from context (for attribution and multi-tenant filtering)-DevToolsEventBase.userIdpackages/shared/src/devtools.ts:47

Released under the MIT License.