ClaudeAgentSDK.AssistantError (claude_agent_sdk v0.6.9)
View SourceEnumerates assistant-level error codes surfaced by the Claude CLI.
Mirrors the Python SDK enum to keep client handling consistent.
Summary
Functions
Casts a string/atom error value into the assistant error enum.
Returns the list of supported assistant error codes.
Types
Functions
Casts a string/atom error value into the assistant error enum.
Returns nil when no error is present, and :unknown when the value
is present but not recognized.
@spec values() :: [t()]
Returns the list of supported assistant error codes.