style: fix linting issues met Prettier
This commit is contained in:
parent
ed8b5c919d
commit
ea5cf7abf9
26 changed files with 467 additions and 422 deletions
|
@ -1,9 +1,9 @@
|
|||
import type {AxiosResponse} from "axios";
|
||||
import type { AxiosResponse } from "axios";
|
||||
|
||||
export class HttpErrorResponseException extends Error {
|
||||
public statusCode: number;
|
||||
constructor(public response: AxiosResponse<unknown, unknown>) {
|
||||
super((response.data as {message: string})?.message || JSON.stringify(response.data));
|
||||
super((response.data as { message: string })?.message || JSON.stringify(response.data));
|
||||
this.statusCode = response.status;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue