Module errors

Module errors 

Source
Expand description

Error types for the Claude Agent SDK

Structs§

CliNotFoundError
Error when Claude Code CLI cannot be found
ConnectionError
Error when connecting to Claude Code CLI
ImageValidationError
Image validation error
JsonDecodeError
Error when JSON decoding fails
McpError
MCP (Model Context Protocol) error with JSONRPC error code
MessageParseError
Error when message parsing fails
ProcessError
Error when the CLI process fails

Enums§

ClaudeError
Main error type for the Claude Agent SDK

Type Aliases§

Result
Result type for the Claude Agent SDK