Class: Parallel::ExceptionWrapper

### Home Classes Methods

### In Files

- lib/parallel.rb

### Parent

Object

### Methods

- ::new

### Class/Module Index

Quicksearch

- Parallel
- Parallel::Break
- Parallel::DeadWorker
- Parallel::ExceptionWrapper
- Parallel::Worker

No matching classes.

# Parallel::ExceptionWrapper

### Attributes

exception[R]

### Public Class Methods

new(exception) click to toggle source

    # File lib/parallel.rb, line 14
    def initialize(exception)
      dumpable = Marshal.dump(exception) rescue nil
      unless dumpable
        exception = RuntimeError.new("Undumpable Exception -- #{exception.inspect}")
      end

      @exception = exception
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.