class TinyCI::Subprocesses::SubprocessError

An error raised when any of the {Subprocesses} methods fail

@attr_reader [Integer] status The return code of the process @attr_reader [String] command The command used to spawn the process

Attributes

command[R]
status[R]

Public Class Methods

new(label, command, status, message = " click to toggle source
Calls superclass method
# File lib/tinyci/subprocesses.rb, line 106
def initialize(label, command, status, message = "#{label}: `#{command}` failed with status #{status.exitstatus}")
  @status = status
  @command = command
  super(message)
end