Exception: CommandUtils::StatusError
- Inherits:
-
StandardError
- Object
- StandardError
- CommandUtils::StatusError
- Defined in:
- lib/command_utils.rb
Overview
Parent class for all status errors.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#command ⇒ Object
Command as passed to Process#spawn.
-
#status ⇒ Object
Process::Status.
Instance Method Summary collapse
-
#initialize(message, status, command) ⇒ StatusError
constructor
A new instance of StatusError.
Constructor Details
#initialize(message, status, command) ⇒ StatusError
Returns a new instance of StatusError.
152 153 154 155 |
# File 'lib/command_utils.rb', line 152 def initialize , status, command super @status, @command = status, command end |
Instance Attribute Details
#command ⇒ Object
Command as passed to Process#spawn
151 152 153 |
# File 'lib/command_utils.rb', line 151 def command @command end |
#status ⇒ Object
Process::Status
149 150 151 |
# File 'lib/command_utils.rb', line 149 def status @status end |