Skip to content

CLIConnectionError

Sub classes

Name Children Inherits
CLINotFoundError
clawd_code_sdk._errors
Raised when Claude Code is not found or not installed.

    Base classes

    Name Children Inherits
    ClaudeSDKError
    clawd_code_sdk._errors
    Base exception for all Claude SDK errors.

    ⋔ Inheritance diagram

    graph TD
      1071211877["_errors.CLIConnectionError"]
      2055642102["_errors.ClaudeSDKError"]
      1615621424["builtins.Exception"]
      3224121899["builtins.BaseException"]
      2751680898["builtins.object"]
      2055642102 --> 1071211877
      1615621424 --> 2055642102
      3224121899 --> 1615621424
      2751680898 --> 3224121899

    🛈 DocStrings

    Bases: ClaudeSDKError

    Raised when unable to connect to Claude Code.

    Source code in src/clawd_code_sdk/_errors.py
    class CLIConnectionError(ClaudeSDKError):
        """Raised when unable to connect to Claude Code."""
    

    :fa-brands-github: Show source on GitHub