tethys.backend/app/Exceptions/InternalServerException.ts
Arno Kaimbacher 6fa22aad9b - prettier format checking
- added the possibility to delete 'inprogress' dataset again for the submitter
- concat run commands insider Dockerfile for better docker image
- npm updates
- add own Exception classes HttpException.ts and InternalServerException.ts
2023-09-05 18:18:42 +02:00

11 lines
345 B
TypeScript

import { StatusCodes } from 'http-status-codes';
import HTTPException from './HttpException';
class InternalServerErrorException extends HTTPException {
constructor(message?: string) {
super(StatusCodes.INTERNAL_SERVER_ERROR, message || 'Server Error');
this.stack = '';
}
}
export default InternalServerErrorException;