AgentSdkErrorOptions
Constructor options for a typed AgentSdkError.
SDK v2026.4.0
Kind: interface
Signature
export interface AgentSdkErrorOptionsProperties
code(AgentSdkErrorCode): Stable machine-readable error code.message(string): Human-readable error message.remediation(string): Suggested remediation for the failure.details?(Record): Structured context safe to expose to callers.cause?(unknown): Original error cause, when available.