tethys.backend/app/Exceptions/HttpException.ts
Arno Kaimbacher 6fa22aad9b
Some checks failed
CI Pipeline / japa-tests (push) Failing after 54s
- 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

13 lines
268 B
TypeScript

class HTTPException extends Error {
public status: number;
public message: string;
constructor(status: number, message: string) {
super(message);
this.status = status;
this.message = message;
}
}
export default HTTPException;