base commit

This commit is contained in:
@kirill.komarov
2026-05-03 19:57:12 +05:00
parent 9139a24093
commit fe10f25b8c
53 changed files with 2064 additions and 1071 deletions
@@ -0,0 +1,4 @@
export function getErrorMessage(error: unknown, fallback = 'Произошла ошибка'): string {
if (error instanceof Error && error.message) return error.message
return fallback
}