From 8ae35815daa6783872a6077f97acbcd4ad7e2899 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 22 Nov 2024 21:56:56 +0100 Subject: [PATCH] refactor: deprecate incorrect error type entry 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types/ocpp/ErrorType.ts b/src/types/ocpp/ErrorType.ts index cbf6a194..40a6e735 100644 --- a/src/types/ocpp/ErrorType.ts +++ b/src/types/ocpp/ErrorType.ts @@ -1,6 +1,7 @@ export enum ErrorType { // Payload for Action is syntactically incorrect or not conform the PDU structure for Action FORMAT_VIOLATION = 'FormatViolation', + /** @deprecated use FORMAT_VIOLATION instead */ FORMATION_VIOLATION = 'FormationViolation', // Any other error not covered by the other ones GENERIC_ERROR = 'GenericError', -- 2.34.1