class StatementInvalid
Ruby on Rails 6.1.7.10
Since v2.2.3Superclass for all database execution errors.
Wraps the underlying database error as cause.
Inherits from
Attributes
Methods (defined here)
- self. new
Used by
Subclasses (11)
- ActiveRecord::DatabaseAlreadyExists
- ActiveRecord::LockWaitTimeout
- ActiveRecord::MismatchedForeignKey
- ActiveRecord::NoDatabaseError
- ActiveRecord::NotNullViolation
- ActiveRecord::PreparedStatementCacheExpired
- ActiveRecord::QueryAborted
- ActiveRecord::RangeError
- ActiveRecord::TransactionRollbackError
- ActiveRecord::ValueTooLong
- ActiveRecord::WrappedDatabaseException