Commit Graph

8 Commits

Author SHA1 Message Date
adlerhurst
889420f2d8 linting 2025-07-25 20:05:15 +02:00
adlerhurst
ef0722e352 Merge branch 'clean-transactional-propsal' into rt-domains 2025-07-22 19:14:06 +02:00
adlerhurst
9c348c0429 implementation done 2025-07-22 19:09:56 +02:00
Silvan
7708fdbbf4 chore(database): enhance error handling (#10279)
This PR enhances error handling in the database package by introducing
custom error types that wrap dialect-specific errors, providing better
abstraction and context for error handling across the application.

* Introduces standardized custom error types for common database errors
(no rows found, integrity violations, etc.)
* Wraps all PostgreSQL-specific errors at the dialect layer to provide
consistent error handling

# Which Problems Are Solved

The database package didn't wrap the errors from dialect specifc
packages.

# How the Problems Are Solved

Custom errors were added which wrap the dialect specifc errors.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-17 15:20:02 +01:00
adlerhurst
2234d6ec82 linting 2025-07-17 09:14:17 +02:00
adlerhurst
15d07c076f linting 2025-07-17 09:08:33 +02:00
adlerhurst
2ad7a16e4f add original error 2025-07-17 01:04:52 +02:00
adlerhurst
f8934b0c88 chore: wrap errors to custom errors 2025-07-17 00:54:21 +02:00