class ParallelException

Attributes

exceptions[R]

@return [Hash] Hash of exceptions thrown. Indexed by thread index.

Public Class Methods

new(exceptions) click to toggle source
# File lib/parallelize/parallel_exception.rb, line 5
def initialize(exceptions)
  @exceptions = exceptions
end

Public Instance Methods

to_s() click to toggle source
# File lib/parallelize/parallel_exception.rb, line 9
def to_s
  "Exceptions thrown during parallel execution: [#{@exceptions.inspect}]"
end