class Sequel::Error
Exception class raised when require_modification
is set and an
UPDATE or DELETE statement to modify the dataset doesn't modify a
single row.
Constants
- AdapterNotFound
Error raised when the adapter requested doesn't exist or can't be loaded.
- InvalidOperation
Error raised on an invalid operation, such as trying to update or delete a joined or grouped dataset.
- InvalidValue
Error raised when attempting an invalid type conversion.
- PoolTimeoutError
Error raised when the connection pool cannot acquire a database connection before the timeout.
- Rollback
Error that you should raise to signal a rollback of the current transaction. The transaction block will catch this exception, rollback the current transaction, and won't reraise it (unless a reraise is requested).
Attributes
wrapped_exception[RW]