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 ​
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
error | { message: string; name: string; stack?: string; } | - | - | - | packages/shared/src/devtools.ts:312 |
error.message | string | - | - | - | packages/shared/src/devtools.ts:314 |
error.name | string | - | - | - | packages/shared/src/devtools.ts:313 |
error.stack? | string | - | - | - | packages/shared/src/devtools.ts:315 |
executionId | string | UUID of the execution context | - | DevToolsEventBase.executionId | packages/shared/src/devtools.ts:32 |
metrics? | Record<string, number> | Metrics accumulated before failure | - | - | packages/shared/src/devtools.ts:318 |
parentExecutionId? | string | Parent execution ID for nested executions (fork, spawn, component_tool) | - | DevToolsEventBase.parentExecutionId | packages/shared/src/devtools.ts:43 |
procedureId | string | Current procedure ID | DevToolsEventBase.procedureId | - | packages/shared/src/devtools.ts:309 |
procedureName? | string | - | - | - | packages/shared/src/devtools.ts:310 |
requestId? | string | Request ID for this execution context | - | DevToolsEventBase.requestId | packages/shared/src/devtools.ts:41 |
status | "failed" | "cancelled" | - | - | - | packages/shared/src/devtools.ts:311 |
tenantId? | string | Tenant ID from context (for multi-tenant dashboards) | - | DevToolsEventBase.tenantId | packages/shared/src/devtools.ts:49 |
tick? | number | Engine tick number when this procedure failed (if within a tick) | - | - | packages/shared/src/devtools.ts:320 |
timestamp | number | Unix timestamp in milliseconds | - | DevToolsEventBase.timestamp | packages/shared/src/devtools.ts:34 |
traceId? | string | Trace ID for distributed tracing correlation | - | DevToolsEventBase.traceId | packages/shared/src/devtools.ts:39 |
type | "procedure_error" | Discriminator for event type | DevToolsEventBase.type | - | packages/shared/src/devtools.ts:308 |
userId? | string | User ID from context (for attribution and multi-tenant filtering) | - | DevToolsEventBase.userId | packages/shared/src/devtools.ts:47 |