diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-12-05 16:38:25 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-12-10 12:12:43 +0100 |
commit | e3188191d9da0e49dd156ea70f59b92776216e8c (patch) | |
tree | d9a42147778371baf03b3e04a0134d9bdf0e8315 /COPYING | |
parent | 8f52b8911edfd3f4e2dd1c459f7779eb79492046 (diff) |
rest: add and use http error code to improve error reporting
Use http error code to improve better error reporting:
- 404 Not Found
+ object is not found
- 409 Conflict
+ object already exists
- 423 Locked
+ object is in use
- 500 Internal Server Error:
+ database query fails
+ out of memory
- 501 Service Unavailable
+ Cannot connect to database
- 507 Insufficient Storage
+ Disk is full
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions