From 420b812b683f370ed611b3ef264909445c3e1917 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 22 Aug 2024 00:59:05 +0200 Subject: [PATCH] refactor: order ErrorType enum properly MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/types/ocpp/ErrorType.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', -- 2.34.1