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