Initial commit

This commit is contained in:
2026-04-05 15:28:04 +02:00
commit 0435b3d07d
43 changed files with 4394 additions and 0 deletions

14
shared/errors.js Normal file
View File

@@ -0,0 +1,14 @@
class AppError extends Error {
constructor(statusCode, code, message, details) {
super(message);
this.name = 'AppError';
this.statusCode = statusCode;
this.code = code;
this.details = details || {};
}
}
module.exports = {
AppError,
};