refactor: revert internal exports in exception
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 19 May 2023 10:53:54 +0000 (12:53 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 19 May 2023 10:53:54 +0000 (12:53 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/exception/OCPPError.ts
src/exception/index.ts
src/exception/internal.ts [deleted file]

index c5d25ddc23d402070437d511dce6a3ea11156bc3..35df1f5083643929e5c35bc309ed33be82335d93 100644 (file)
@@ -1,6 +1,6 @@
 // Partial Copyright Jerome Benoit. 2021-2023. All Rights Reserved.
 
-import { BaseError } from './internal';
+import { BaseError } from './BaseError';
 import {
   ErrorType,
   type IncomingRequestCommand,
index 3d4b3f9004cc37d053977c70c8025ef2e457bccd..5e5b60caf1743125aea0fdaf94781927e1ef9536 100644 (file)
@@ -1 +1,2 @@
-export { BaseError, OCPPError } from './internal';
+export { BaseError } from './BaseError';
+export { OCPPError } from './OCPPError';
diff --git a/src/exception/internal.ts b/src/exception/internal.ts
deleted file mode 100644 (file)
index 49abdfc..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-export * from './BaseError';
-export * from './OCPPError';