Ruby on Rails 5.2.3
Class
ActiveRecord::LockWaitTimeout
<
ActiveRecord::StatementInvalid
activerecord/lib/active_record/errors.rb
LockWaitTimeout
will be raised when lock wait timeout exceeded.