class Arrival::SignalError

Used when the spawned process failed by receiving a signal. pt-online-schema-change returns “SIGSEGV (signal 11)” on failures.

Attributes

status[R]

Public Class Methods

new(status) click to toggle source

Constructor

@param status [Process::Status]

Calls superclass method
# File lib/arrival/errors.rb, line 20
def initialize(status)
  super
  @status = status
end

Public Instance Methods

message() click to toggle source
# File lib/arrival/errors.rb, line 25
def message
  status.to_s
end