Exception: ClaudeCode::CLINotFoundError
- Inherits:
-
CLIConnectionError
- Object
- StandardError
- ClaudeSDKError
- CLIConnectionError
- ClaudeCode::CLINotFoundError
- Defined in:
- lib/claude_code/errors.rb
Instance Attribute Summary collapse
-
#cli_path ⇒ Object
readonly
Returns the value of attribute cli_path.
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.
13 14 15 16 17 |
# File 'lib/claude_code/errors.rb', line 13 def initialize( = "Claude Code not found", cli_path: nil) @cli_path = cli_path = "#{message}: #{cli_path}" if cli_path super() end |
Instance Attribute Details
#cli_path ⇒ Object (readonly)
Returns the value of attribute cli_path.
11 12 13 |
# File 'lib/claude_code/errors.rb', line 11 def cli_path @cli_path end |