From 919bc5d68e24a2db132193b64f0009d53394d4d8 Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Thu, 12 Jan 2023 10:19:32 +0000 Subject: [PATCH] Added `errors` module --- src/utils/errors/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/utils/errors/index.ts diff --git a/src/utils/errors/index.ts b/src/utils/errors/index.ts new file mode 100644 index 0000000..651698d --- /dev/null +++ b/src/utils/errors/index.ts @@ -0,0 +1,6 @@ +export { isError } from "./error"; +export { ArgumentError } from "./argument-error"; +export { ArgumentNullError } from "./argument-null-error"; +export { SoftError, isSoftError } from "./soft-error"; +export { FileNotFoundError } from "./file-not-found-error"; +export { HttpError, isHttpError } from "./http-error";