Skip to content

Commit

Permalink
refactor: order ErrorType enum properly
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
  • Loading branch information
jerome-benoit committed Aug 21, 2024
1 parent 0749233 commit 420b812
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/ocpp/ErrorType.ts
Original file line number Diff line number Diff line change
@@ -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',
Expand Down

0 comments on commit 420b812

Please sign in to comment.