ClaudeAgentSDK.Errors.ProcessError exception (claude_agent_sdk v0.11.0)

Copy Markdown View Source

Raised when the Claude CLI process exits with an error.

Fields

  • :message - Human-readable error description
  • :exit_code - Process exit code (if available)
  • :stderr - Captured stderr output (if available)

Summary

Types

t()

@type t() :: %ClaudeAgentSDK.Errors.ProcessError{
  __exception__: true,
  exit_code: integer() | nil,
  message: String.t(),
  stderr: String.t() | nil
}