This commit is contained in:
SuperComboGamer
2025-12-17 22:34:19 -05:00
parent 760f254f78
commit f3dbc996d4
4 changed files with 136 additions and 93 deletions

View File

@@ -84,7 +84,9 @@ export function classifyError(error: unknown): ErrorInfo {
let type: ErrorType;
if (isAuth) {
type = "authentication";
} else if (isCancellation || isAbort) {
} else if (isAbort) {
type = "abort";
} else if (isCancellation) {
type = "cancellation";
} else if (error instanceof Error) {
type = "execution";