try to do better

This commit is contained in:
arrelin
2026-01-29 15:32:22 +03:00
parent 24f04a7e82
commit b88eb4a9e3
34 changed files with 43 additions and 61 deletions

View File

@@ -1,5 +1,5 @@
import { AxiosError } from 'axios';
import { ApiError, AppError } from '../types/errors';
import { AppError } from '../types/errors';
import { showToast } from './toast';
export function handleApiError(error: unknown): never {