Exception: ClaudeAgentSDK::CLINotFoundError
- Inherits:
-
CLIConnectionError
- Object
- StandardError
- ClaudeSDKError
- CLIConnectionError
- ClaudeAgentSDK::CLINotFoundError
- Defined in:
- lib/claude_agent_sdk/errors.rb
Overview
Raised when Claude Code is not found or not installed
Instance Method Summary collapse
-
#initialize(message = 'Claude Code not found', cli_path: nil) ⇒ CLINotFoundError
constructor
A new instance of CLINotFoundError.
Constructor Details
#initialize(message = 'Claude Code not found', cli_path: nil) ⇒ CLINotFoundError
Returns a new instance of CLINotFoundError.
12 13 14 15 |
# File 'lib/claude_agent_sdk/errors.rb', line 12 def initialize( = 'Claude Code not found', cli_path: nil) = "#{}: #{cli_path}" if cli_path super() end |