class StatementInvalid
Ruby on Rails 6.0.6
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::LockWaitTimeout
- ActiveRecord::MismatchedForeignKey
- ActiveRecord::NoDatabaseError
- ActiveRecord::NotNullViolation
- ActiveRecord::PreparedStatementCacheExpired
- ActiveRecord::QueryCanceled
- ActiveRecord::RangeError
- ActiveRecord::StatementTimeout
- ActiveRecord::TransactionRollbackError
- ActiveRecord::ValueTooLong
- ActiveRecord::WrappedDatabaseException