Exception: Sequel::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sequel/exceptions.rb,
lib/sequel/exceptions.rb

Overview

The default exception class for exceptions raised by Sequel. All exception classes defined by Sequel are descendants of this class.

Constant Summary collapse

AdapterNotFound =
Sequel::AdapterNotFound
InvalidOperation =
Sequel::InvalidOperation
InvalidValue =
Sequel::InvalidValue
PoolTimeoutError =
Sequel::PoolTimeout
Rollback =
Sequel::Rollback

Instance Attribute Summary collapse

Instance Attribute Details

#wrapped_exceptionObject

If this exception wraps an underlying exception, the underlying exception is held here.



7
8
9
# File 'lib/sequel/exceptions.rb', line 7

def wrapped_exception
  @wrapped_exception
end