Class: BatchAny::Manager::FiberError

Inherits:
Object
  • Object
show all
Defined in:
lib/batch_any/manager.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fiber, exception) ⇒ FiberError

Returns a new instance of FiberError.



6
7
8
9
# File 'lib/batch_any/manager.rb', line 6

def initialize(fiber, exception)
  @fiber = fiber
  @exception = exception
end

Instance Attribute Details

#exceptionObject (readonly)

Returns the value of attribute exception.



4
5
6
# File 'lib/batch_any/manager.rb', line 4

def exception
  @exception
end

#fiberObject (readonly)

Returns the value of attribute fiber.



4
5
6
# File 'lib/batch_any/manager.rb', line 4

def fiber
  @fiber
end