hcp-uw / syntext

website for practicing your typing
5 stars 0 forks source link

Backend Error Handling #33

Closed elimelt closed 1 year ago

elimelt commented 1 year ago

Need to make sure any errors thrown by our database are handled gracefully by our server.

Also need to test that it is impossible for a client to make any requests that would stop our server.

elimelt commented 1 year ago

Added error handling on DB controller, api, and client layers of our application. Also added default error code snippet.

elimelt commented 1 year ago

API now handles errors gracefully (inluding errors caused by invalid arguments to our API).