This commit is contained in:
Chuck1sn
2025-05-15 21:48:09 +08:00
parent f33bcf3697
commit 082312db7c
56 changed files with 954 additions and 802 deletions

View File

@@ -4,7 +4,7 @@ import { RoutePath } from "../router/constants";
import {
ForbiddenError,
InternalServerError,
SystemError,
RequestError,
UnAuthError,
} from "../types/error";
@@ -34,7 +34,7 @@ const makeErrorHandler =
level: "error",
content: err.message,
});
} else if (err instanceof SystemError) {
} else if (err instanceof RequestError) {
showAlert({
level: "error",
content: err.message,