Exception: ProcessFailed

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rbbt/util/misc/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(pid = Process.pid) ⇒ ProcessFailed

Returns a new instance of ProcessFailed.



8
9
10
11
12
# File 'lib/rbbt/util/misc/exceptions.rb', line 8

def initialize(pid = Process.pid)
  @pid = pid
  @msg = "Process #{@pid} failed"
  super(@msg)
end