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.
170 171 172 173 |
# File 'lib/command_utils.rb', line 170 def initialize , status, command super @status, @command = status, command end |
Instance Attribute Details
#command ⇒ Object
Command as passed to Process#spawn
169 170 171 |
# File 'lib/command_utils.rb', line 169 def command @command end |
#status ⇒ Object
Process::Status
167 168 169 |
# File 'lib/command_utils.rb', line 167 def status @status end |