make some adjustments to make linter and types happy
Some checks failed
CI / Test (pull_request) Failing after 19s
Some checks failed
CI / Test (pull_request) Failing after 19s
This commit is contained in:
@@ -307,21 +307,30 @@ function isFormData(value: any): value is FormData {
|
||||
|
||||
export class ResponseError extends Error {
|
||||
override name: "ResponseError" = "ResponseError";
|
||||
constructor(public response: Response, msg?: string) {
|
||||
constructor(
|
||||
public response: Response,
|
||||
msg?: string
|
||||
) {
|
||||
super(msg);
|
||||
}
|
||||
}
|
||||
|
||||
export class FetchError extends Error {
|
||||
override name: "FetchError" = "FetchError";
|
||||
constructor(public cause: Error, msg?: string) {
|
||||
constructor(
|
||||
public cause: Error,
|
||||
msg?: string
|
||||
) {
|
||||
super(msg);
|
||||
}
|
||||
}
|
||||
|
||||
export class RequiredError extends Error {
|
||||
override name: "RequiredError" = "RequiredError";
|
||||
constructor(public field: string, msg?: string) {
|
||||
constructor(
|
||||
public field: string,
|
||||
msg?: string
|
||||
) {
|
||||
super(msg);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user