const CustomError = require('./CustomError'); class UnauthorizedError extends CustomError { constructor(message) { super(message); } statusCode() { return 401; // Unauthorized } } module.exports = UnauthorizedError;