Files
Alex Christoffer Rasmussen 8a1474e8d6 Improve error handling in server (#812)
* add functions to convert all errors to `ErrorResponse` type

* replace all `{ message: error.toString() }` with `toErrorResponse(error)`

* refactor: all controllers to to use getErrorMessage and add types to the Response

* 404 for nonexistent api routes
2024-04-05 23:06:40 +02:00
..
2024-03-12 21:30:16 +01:00
2023-11-13 22:04:55 +01:00
2023-05-18 14:02:22 +02:00
2023-05-18 14:02:22 +02:00