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 Goldstein
2025-10-09 22:31:46 +03:00
committed by GitHub
co-authored by Alexandr
parent f6e5d507ad
commit b164ecebda
11 changed files with 95 additions and 83 deletions
+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 = {