class Parallel::ExceptionWrapper
Attributes
exception[R]
Public Class Methods
new(exception)
click to toggle source
# File lib/parallel.rb, line 21 def initialize(exception) dumpable = Marshal.dump(exception) rescue nil unless dumpable exception = RuntimeError.new("Undumpable Exception -- #{exception.inspect}") end @exception = exception end