From: Jérôme Benoit Date: Fri, 19 May 2023 10:53:54 +0000 (+0200) Subject: refactor: revert internal exports in exception X-Git-Tag: v1.2.14~48 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=bfa591a39d837023fb3acfc5083d3d648419f130;p=e-mobility-charging-stations-simulator.git refactor: revert internal exports in exception Signed-off-by: Jérôme Benoit --- diff --git a/src/exception/OCPPError.ts b/src/exception/OCPPError.ts index c5d25ddc..35df1f50 100644 --- a/src/exception/OCPPError.ts +++ b/src/exception/OCPPError.ts @@ -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, diff --git a/src/exception/index.ts b/src/exception/index.ts index 3d4b3f90..5e5b60ca 100644 --- a/src/exception/index.ts +++ b/src/exception/index.ts @@ -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 index 49abdfcb..00000000 --- a/src/exception/internal.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './BaseError'; -export * from './OCPPError';