refactor: cleanup default params in error handlers
[e-mobility-charging-stations-simulator.git] / src / utils / index.ts
index daa67094d76ed4126fc9a57df1dd8e51dd137053..d6efcdc7d17111df6b2897e2866144c3f81341c5 100644 (file)
@@ -5,29 +5,27 @@ export {
   buildEvsesStatus,
   OutputFormat
 } from './ChargingStationConfigurationUtils.js'
-export { CircularArray } from './CircularArray.js'
 export { Configuration } from './Configuration.js'
 export { Constants } from './Constants.js'
 export { ACElectricUtils, DCElectricUtils } from './ElectricUtils.js'
 export {
   handleFileException,
+  handleIncomingRequestError,
   handleSendMessageError,
   handleUncaughtException,
-  handleUnhandledRejection,
-  setDefaultErrorParams
+  handleUnhandledRejection
 } from './ErrorUtils.js'
 export { watchJsonFile } from './FileUtils.js'
 export { logger } from './Logger.js'
 export {
   buildAddedMessage,
-  buildChargingStationDataPayload,
   buildDeletedMessage,
   buildPerformanceStatisticsMessage,
   buildStartedMessage,
   buildStoppedMessage,
   buildUpdatedMessage
 } from './MessageChannelUtils.js'
-export { average, median, nthPercentile, stdDeviation } from './StatisticUtils.js'
+export { max, min, nthPercentile, stdDeviation } from './StatisticUtils.js'
 export {
   clone,
   convertToBoolean,
@@ -41,21 +39,14 @@ export {
   generateUUID,
   getRandomFloatFluctuatedRounded,
   getRandomFloatRounded,
-  getRandomInteger,
   getWebSocketCloseEventStatusString,
   isArraySorted,
   isAsyncFunction,
-  isEmptyArray,
-  isEmptyObject,
-  isEmptyString,
   isNotEmptyArray,
   isNotEmptyString,
   isValidDate,
   JSONStringify,
   logPrefix,
-  max,
-  min,
-  once,
   roundTo,
   secureRandom,
   sleep,