Exception: ActiveRecord::ShardSwapProhibitedError
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
ArgumentError
|
|
|
Instance Chain:
self,
ArgumentError
|
|
| Inherits: |
ArgumentError
|
| Defined in: | activerecord/lib/active_record/errors.rb |
Overview
Raised when shard swapping is attempted on a connection that prohibits it. See ActiveRecord::ConnectionHandling#prohibit_shard_swapping.