Files
ontime/packages/utils/src
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
..
2023-11-11 14:28:43 +01:00
2024-02-17 21:55:46 +01:00
2024-03-08 19:54:18 +01:00
2023-11-13 22:04:55 +01:00
2023-08-12 10:42:43 +02:00