class Deadlocked
Ruby on Rails 8.1.2
Since v5.2.8.1Deadlocked will be raised when a transaction is rolled back by the database when a deadlock is encountered.
This is a subclass of TransactionRollbackError, please make sure to check its documentation to be aware of its caveats.
Inherits from
Methods (inherited)
From ActiveRecord::StatementInvalid (2)
From ActiveRecord::AdapterError (1)
- self. new