refactor: move errors related code into separate file (#4554)

* refactor: move errors related code into separate file

* jsdoc

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
This commit is contained in:
Ophelia GoldsteinandAlexandr authored and GitHub committed 2025-10-09 22:31:46 +03:00
1 parent f6e5d507ad
commit b164ecebda
11 files changed
+95 -83

No files matched your search

+1 -2
View File
@@ -7,8 +7,7 @@ import {
import "@testing-library/jest-dom";
import { cssToObject } from "@uppercod/css-to-object";
import { renderStatsCard } from "../src/cards/stats.js";
import { CustomError } from "../src/common/utils.js";
import { CustomError } from "../src/common/error.js";
import { themes } from "../themes/index.js";
const stats = {