Class: Sequel::Database::AsyncThreadPool::WrappedException

Inherits:
Struct
  • Object
show all
Defined in:
lib/sequel/extensions/async_thread_pool.rb

Overview

Wrapper for exception instances raised by async jobs. The wrapped exception will be raised by the code getting the value of the job.

Instance Attribute Summary collapse

Instance Attribute Details

#exceptionObject

Returns the value of attribute exception

Returns:

  • (Object)

    the current value of exception



225
226
227
# File 'lib/sequel/extensions/async_thread_pool.rb', line 225

def exception
  @exception
end