X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FErrorType.ts;h=e8762380b5872b9cddebc3d33f0f3075170dd834;hb=91a7d3eac062df6c73d8443a542568c1fe69ec1b;hp=4dd459d7bdc680077a7798d04fd8fe072bc7b4cb;hpb=d2a64eb5f88adfd215e14a24e58f20144d3f85c1;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/ErrorType.ts b/src/types/ocpp/ErrorType.ts index 4dd459d7..e8762380 100644 --- a/src/types/ocpp/ErrorType.ts +++ b/src/types/ocpp/ErrorType.ts @@ -11,12 +11,13 @@ export enum ErrorType { SECURITY_ERROR = 'SecurityError', // Payload for Action is syntactically incorrect or not conform the PDU structure for Action FORMATION_VIOLATION = 'FormationViolation', + FORMAT_VIOLATION = 'FormatViolation', // Payload is syntactically correct but at least one field contains an invalid value - PROPERTY_RAINT_VIOLATION = 'PropertyraintViolation', - // Payload for Action is syntactically correct but at least one of the fields violates occurrence raints - OCCURRENCE_RAINT_VIOLATION = 'OccurrenceraintViolation', - // Payload for Action is syntactically correct but at least one of the fields violates data type raints (e.g. "somestring" = 12) - TYPERAINT_VIOLATION = 'TyperaintViolation', + PROPERTY_CONSTRAINT_VIOLATION = 'PropertyConstraintViolation', + // Payload for Action is syntactically correct but at least one of the fields violates occurrence constraints + OCCURRENCE_CONSTRAINT_VIOLATION = 'OccurrenceConstraintViolation', + // Payload for Action is syntactically correct but at least one of the fields violates data type constraints (e.g. "somestring" = 12) + TYPE_CONSTRAINT_VIOLATION = 'TypeConstraintViolation', // Any other error not covered by the previous ones GENERIC_ERROR = 'GenericError', }