Exception: Kreuzberg::CLIProxy::CLIExecutionError
- Inherits:
-
Error
- Object
- StandardError
- Errors::Error
- Error
- Kreuzberg::CLIProxy::CLIExecutionError
- Defined in:
- lib/kreuzberg/cli_proxy.rb
Overview
CLI execution error with stderr and exit status
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#stderr ⇒ Object
readonly
Returns the value of attribute stderr.
Attributes inherited from Errors::Error
Instance Method Summary collapse
-
#initialize(message, stderr:, status:) ⇒ CLIExecutionError
constructor
A new instance of CLIExecutionError.
Constructor Details
#initialize(message, stderr:, status:) ⇒ CLIExecutionError
Returns a new instance of CLIExecutionError.
15 16 17 18 19 |
# File 'lib/kreuzberg/cli_proxy.rb', line 15 def initialize(, stderr:, status:) super() @stderr = stderr @status = status end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
13 14 15 |
# File 'lib/kreuzberg/cli_proxy.rb', line 13 def status @status end |
#stderr ⇒ Object (readonly)
Returns the value of attribute stderr.
13 14 15 |
# File 'lib/kreuzberg/cli_proxy.rb', line 13 def stderr @stderr end |