Exception: Sequel::Error
- Defined in:
- 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
ConnectionExpiration::Retry, ConnectionValidator::Retry, DuplicateColumnError, HookFailed, Migrator::Error, NoMatchingRow, Plugins::Tree::TreeMultipleRootError, ValidationFailed
Constant Summary collapse
- AdapterNotFound =
AdapterNotFound
- InvalidOperation =
InvalidOperation
- InvalidValue =
InvalidValue
- PoolTimeoutError =
PoolTimeout
- Rollback =
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.
9 10 11 |
# File 'lib/sequel/exceptions.rb', line 9 def wrapped_exception @wrapped_exception end |