From: Jérôme Benoit Date: Wed, 21 Aug 2024 22:59:05 +0000 (+0200) Subject: refactor: order ErrorType enum properly X-Git-Tag: ocpp-server@v1.5.2~102 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=420b812b683f370ed611b3ef264909445c3e1917;p=e-mobility-charging-stations-simulator.git refactor: order ErrorType enum properly Signed-off-by: Jérôme Benoit --- diff --git a/src/types/ocpp/ErrorType.ts b/src/types/ocpp/ErrorType.ts index d405ee4d..506b4d5b 100644 --- a/src/types/ocpp/ErrorType.ts +++ b/src/types/ocpp/ErrorType.ts @@ -1,8 +1,8 @@ export enum ErrorType { - FORMAT_VIOLATION = 'FormatViolation', // Payload for Action is syntactically incorrect or not conform the PDU structure for Action + FORMAT_VIOLATION = 'FormatViolation', FORMATION_VIOLATION = 'FormationViolation', - // Any other error not covered by the previous ones + // Any other error not covered by the other ones GENERIC_ERROR = 'GenericError', // An internal error occurred and the receiver was not able to process the requested Action successfully INTERNAL_ERROR = 'InternalError',