Arno Kaimbacher
6fa22aad9b
Some checks failed
CI Pipeline / japa-tests (push) Failing after 54s
- 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
13 lines
268 B
TypeScript
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;
|