Major Backend Single Responsibility Update part 1

This commit is contained in:
X4Lo committed 2025-01-25 04:29:42 +01:00
1 parent 65177c7553
commit cbdffb21e3
41 files changed
+1723 -888

No files matched your search

+4
View File
@@ -1,5 +1,9 @@
const CustomError = require('./CustomError');
/**
* Represents an error for HTTP 401 Unauthorized.
* This error indicates that the request requires user authentication.
*/
class UnauthorizedError extends CustomError {
constructor(message) {
super(message);