Iron Gorilla Developers

AgentSdkErrorOptions

Constructor options for a typed AgentSdkError.

SDK v2026.4.0

Kind: interface

Signature

Example
export interface AgentSdkErrorOptions

Properties

  • 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.

On this page