Exception: EnhanceSwarm::CommandExecutor::CommandError
- Inherits:
-
StandardError
- Object
- StandardError
- EnhanceSwarm::CommandExecutor::CommandError
- Defined in:
- lib/enhance_swarm/command_executor.rb
Instance Attribute Summary collapse
-
#exit_status ⇒ Object
readonly
Returns the value of attribute exit_status.
-
#stderr ⇒ Object
readonly
Returns the value of attribute stderr.
Instance Method Summary collapse
-
#initialize(message, exit_status: nil, stderr: nil) ⇒ CommandError
constructor
A new instance of CommandError.
Constructor Details
#initialize(message, exit_status: nil, stderr: nil) ⇒ CommandError
Returns a new instance of CommandError.
12 13 14 15 16 |
# File 'lib/enhance_swarm/command_executor.rb', line 12 def initialize(, exit_status: nil, stderr: nil) super() @exit_status = exit_status @stderr = stderr end |
Instance Attribute Details
#exit_status ⇒ Object (readonly)
Returns the value of attribute exit_status.
10 11 12 |
# File 'lib/enhance_swarm/command_executor.rb', line 10 def exit_status @exit_status end |
#stderr ⇒ Object (readonly)
Returns the value of attribute stderr.
10 11 12 |
# File 'lib/enhance_swarm/command_executor.rb', line 10 def stderr @stderr end |