feat(postgres-driver): improve DX with connection error messages#10679
Conversation
Introduce PostgresError/ConnectionError classes and include the pool name in connection failures so users can identify which data source/pool failed. Pool name now encodes dataSource and preAggregations, and driver throws typed errors instead of generic Error.
|
Claude finished @ovr's task in 2m 12s —— View job Code Review:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #10679 +/- ##
==========================================
- Coverage 57.92% 57.91% -0.02%
==========================================
Files 215 215
Lines 16642 16645 +3
Branches 3346 3347 +1
==========================================
Hits 9640 9640
- Misses 6513 6516 +3
Partials 489 489
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Introduce PostgresError/ConnectionError classes and include the pool name in connection failures so users can identify which data source/pool failed. Pool name now encodes dataSource and preAggregations, and driver throws typed errors instead of generic Error.