AgentSdkError
Base class for stable SDK and runtime errors.
SDK v2026.4.0
Kind: class
Signature
export class AgentSdkErrorProperties
code(AgentSdkErrorCode): Stable machine-readable error code.remediation(string): Suggested remediation for the failure.details?(Record): Structured context safe to expose to callers.
Methods
toJSON(): unknown: Convert the error to a stable JSON shape for API/UI surfaces.