Ruby on Rails 6.0.5
Class
ActiveRecord::RecordNotUnique
<
ActiveRecord::WrappedDatabaseException
activerecord/lib/active_record/errors.rb
Raised when a record cannot be inserted or updated because it would violate a uniqueness constraint.