sol-cloud/cloud
smile c00541e7bb feat(common): add a global exception handler to optimize database error messages
- Introduce PostgreSQL-specific exception handling to make error messages more readable
- Parse unique-violation errors, extract the conflicting column and value, and inform the user
- Detect not-null violations and clearly indicate which fields are required
- Classify foreign-key violations, distinguishing between “referenced record missing” and “still being referenced” scenarios
- Add check-constraint hints to help users spot format or rule violations
- Parse length-exceeded errors and state the allowed maximum length
- Provide generic utilities for extracting key columns and constraint names from error messages
- Enhance logging for easier debugging and issue tracking
2025-10-02 11:07:42 +08:00
..
common feat(common): add a global exception handler to optimize database error messages 2025-10-02 11:07:42 +08:00
gateway-9527 refactor(common): Refactor the underlying entity class and tree structure services 2025-09-17 19:04:07 +08:00
model feat(api): Add APIs for files, images, videos, and system modules 2025-09-29 17:12:27 +08:00
plugin feat(core): Add bulk queries and optimize basic services 2025-09-28 22:13:22 +08:00
web feat(api): Add APIs for files, images, videos, and system modules 2025-09-29 17:12:27 +08:00
pom.xml feat(plugin): Add data rights controls and optimize file services 2025-09-19 21:54:33 +08:00