ClaudeAgentSDK.Errors.CLIJSONDecodeError exception
(claude_agent_sdk v0.11.0)
Copy Markdown
View Source
Raised when the SDK fails to decode JSON output from the CLI.
This usually indicates a protocol mismatch or corrupted output stream.
Fields
:message- Human-readable error description:line- The raw line that failed to parse:original_error- The underlying JSON decode error