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