Exception: Sequel::Error
- 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.
Direct Known Subclasses
AdapterNotFound, ConnectionValidator::Retry, DatabaseError, HookFailed, InvalidOperation, InvalidValue, Migrator::Error, NoExistingObject, NoMatchingRow, Plugins::Tree::TreeMultipleRootError, PoolTimeout, Rollback, UnbindDuplicate, UndefinedAssociation, ValidationFailed
Constant Summary collapse
- AdapterNotFound =
Sequel::AdapterNotFound
- InvalidOperation =
Sequel::InvalidOperation
- InvalidValue =
Sequel::InvalidValue
- PoolTimeoutError =
Sequel::PoolTimeout
- Rollback =
Sequel::Rollback
Instance Attribute Summary collapse
-
#wrapped_exception ⇒ Object
If this exception wraps an underlying exception, the underlying exception is held here.
Instance Attribute Details
#wrapped_exception ⇒ Object
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 |