summaryrefslogtreecommitdiffstats
path: root/src/cfg.c
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-12-05 16:38:25 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-12-10 12:12:43 +0100
commite3188191d9da0e49dd156ea70f59b92776216e8c (patch)
treed9a42147778371baf03b3e04a0134d9bdf0e8315 /src/cfg.c
parent8f52b8911edfd3f4e2dd1c459f7779eb79492046 (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 'src/cfg.c')
0 files changed, 0 insertions, 0 deletions