2023-09-05 16:18:42 +00:00
|
|
|
import { StatusCodes } from 'http-status-codes';
|
2024-03-14 19:25:27 +00:00
|
|
|
import HTTPException from './HttpException.js';
|
2023-09-05 16:18:42 +00:00
|
|
|
|
|
|
|
class InternalServerErrorException extends HTTPException {
|
|
|
|
constructor(message?: string) {
|
|
|
|
super(StatusCodes.INTERNAL_SERVER_ERROR, message || 'Server Error');
|
|
|
|
this.stack = '';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export default InternalServerErrorException;
|