fix(frontend): Linting errors/warnings opgelost

This commit is contained in:
Gerald Schmittinger 2025-04-01 15:00:47 +02:00
parent b2e6b33716
commit 4d98be78c1
26 changed files with 272 additions and 258 deletions

View file

@ -1,22 +0,0 @@
import type {AxiosResponse} from "axios";
export class HttpErrorStatusException extends Error {
public readonly statusCode: number;
constructor(response: AxiosResponse<any, any>) {
super(`${response.statusText} (${response.status})`);
this.statusCode = response.status;
}
}
export class NotFoundException extends Error {
constructor(message: string) {
super(message);
}
}
export class InvalidResponseException extends Error {
constructor(message: string) {
super(message);
}
}