AgentSdkErrorCode
Stable machine-readable error codes returned by the SDK and runtime.
SDK v2026.4.0
Kind: typeAlias
Signature
export type AgentSdkErrorCode = ACTION_DENIED | APPROVAL_SESSION_FAILED | REPLAY_DIVERGENCE | RATE_LIMITED | SUBPROCESS_PROTOCOL_ERROR | VALIDATION_FAILED | TIMEOUT | CANCELLED | INTERNAL_RUNTIME_ERROR