From: Jérôme Benoit Date: Fri, 22 Nov 2024 20:56:56 +0000 (+0100) Subject: refactor: deprecate incorrect error type entry X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8ae35815daa6783872a6077f97acbcd4ad7e2899;p=e-mobility-charging-stations-simulator.git refactor: deprecate incorrect error type entry Signed-off-by: Jérôme Benoit --- 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',