diff options
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/errors.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/errors.rb b/activerecord/lib/active_record/errors.rb index c615d59725..52643828e4 100644 --- a/activerecord/lib/active_record/errors.rb +++ b/activerecord/lib/active_record/errors.rb @@ -207,6 +207,8 @@ module ActiveRecord class ImmutableRelation < ActiveRecordError end + # Raised in database transaction blocks in situations described + # in the DatabaseStatements#transaction documentation class TransactionIsolationError < ActiveRecordError end end |