X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fexception%2FOCPPError.ts;h=f624d7e79704026eb60925f88ba3ddd0ae56de97;hb=6501eda9e69fff639911308b3f2de26593ae18c9;hp=35df1f5083643929e5c35bc309ed33be82335d93;hpb=bfa591a39d837023fb3acfc5083d3d648419f130;p=e-mobility-charging-stations-simulator.git diff --git a/src/exception/OCPPError.ts b/src/exception/OCPPError.ts index 35df1f50..f624d7e7 100644 --- a/src/exception/OCPPError.ts +++ b/src/exception/OCPPError.ts @@ -18,12 +18,12 @@ export class OCPPError extends BaseError { code: ErrorType, message: string, command?: RequestCommand | IncomingRequestCommand, - details?: JsonType + details?: JsonType, ) { super(message); this.code = code ?? ErrorType.GENERIC_ERROR; this.command = command; - this.details = details ?? Constants.EMPTY_FREEZED_OBJECT; + this.details = details ?? Constants.EMPTY_FROZEN_OBJECT; } }