Files
Showy/backend/errors/InternalServerError.js
T

14 lines
248 B
JavaScript

const CustomError = require('./CustomError');
class InternalServerError extends CustomError {
constructor(message) {
super(message);
}
statusCode() {
return 500; // Internal Server Error
}
}
module.exports = InternalServerError;