refactor(backend): File has too many classes
This commit is contained in:
parent
25f9eb2af2
commit
5b31cec5fe
15 changed files with 87 additions and 67 deletions
8
backend/src/exceptions/httpException.ts
Normal file
8
backend/src/exceptions/httpException.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
export class HttpException extends Error {
|
||||
constructor(
|
||||
public status: number,
|
||||
message: string
|
||||
) {
|
||||
super(message);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue