Skip to content

New #868: Add SerializationFailureException - #1196

Open
KalimeroMK wants to merge 1 commit into
yiisoft:masterfrom
KalimeroMK:add-868-serialization-failure-exception
Open

New #868: Add SerializationFailureException#1196
KalimeroMK wants to merge 1 commit into
yiisoft:masterfrom
KalimeroMK:add-868-serialization-failure-exception

Conversation

@KalimeroMK

Copy link
Copy Markdown
Contributor

Fix #868

Adds SerializationFailureException for SQLSTATE code 40001 (serialization failure, e.g. transaction deadlock in concurrent updates). The code is the same for all databases, so the conversion is done centrally in ConvertException, next to the existing IntegrityException mapping.

@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.62%. Comparing base (f0b0d2b) to head (139b614).

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1196   +/-   ##
=========================================
  Coverage     98.62%   98.62%           
- Complexity     1645     1646    +1     
=========================================
  Files           120      120           
  Lines          4288     4290    +2     
=========================================
+ Hits           4229     4231    +2     
  Misses           59       59           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@KalimeroMK KalimeroMK closed this Aug 20, 2026
@KalimeroMK KalimeroMK reopened this Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add SerializationFailureException

1 participant