p7-projekt / api-backend

Backend API
MIT License
0 stars 0 forks source link

Feature/5 #30

Closed KristianS93 closed 4 weeks ago

KristianS93 commented 4 weeks ago

Description

This issue solves the problem of exception bubbling up and revealing internal state to the user of the api. This ensures a uniform format of unhandled exceptions are defaulted to an internal server error. There could be an argument on if the message should be standard and not the message of the exception.

Resolved Issue

Closes #5

Changes

From this:

image

To this:

image