Iron Gorilla Developers

AgentSdkError

Base class for stable SDK and runtime errors.

SDK v2026.4.0

Kind: class

Signature

Example
export class AgentSdkError

Properties

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

On this page