Exception: Sequel::ConstraintViolation
- Inherits:
-
DatabaseError
- Object
- StandardError
- Error
- DatabaseError
- Sequel::ConstraintViolation
- Defined in:
- lib/sequel/exceptions.rb
Overview
Generic error raised when Sequel determines a database constraint has been violated.
Direct Known Subclasses
CheckConstraintViolation, ForeignKeyConstraintViolation, NotNullConstraintViolation, Postgres::ExclusionConstraintViolation, UniqueConstraintViolation
Constant Summary
Constants inherited from Error
Error::AdapterNotFound, Error::InvalidOperation, Error::InvalidValue, Error::PoolTimeoutError, Error::Rollback