mirror of
https://github.com/detleph/server.git
synced 2026-09-04 08:36:06 +02:00
Add basic error handling
+ Add express-async-errors package to handle async errors + Add ForwaradableError class (Base class for all project-specific errors) + Add defaultErrorHandler middleware which handles errors and sends info to the client
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
"argon2": "^0.28.2",
|
||||
"dotenv": "^10.0.0",
|
||||
"express": "^4.17.1",
|
||||
"express-async-errors": "^3.1.1",
|
||||
"jsonwebtoken": "^8.5.1",
|
||||
"nodemailer": "^6.7.0",
|
||||
"redis": "^3.1.2"
|
||||
|
||||
Reference in New Issue
Block a user