You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expectedErr: &ocpp.Error{Code: ocppj.OccurrenceConstraintViolation, Description: "Field CallResult.Payload.Data.Field1 required but not found for feature DataTransfer"},
54
+
expectedErr: &ocpp.Error{Code: ocppj.OccurrenceConstraintViolationV16, Description: "Field CallResult.Payload.Data.Field1 required but not found for feature DataTransfer"},
expectedErr:=fmt.Sprintf(`[4,"%v","%v","Field %s required but not found for feature %s",{}]`, mockUniqueID, ocppj.OccurrenceConstraintViolation, mockField, mockResponse.GetFeatureName())
335
+
expectedErr:=fmt.Sprintf(`[4,"%v","%v","Field %s required but not found for feature %s",{}]`, mockUniqueID, ocppj.OccurrenceConstraintErrorType(suite.centralSystem), mockField, mockResponse.GetFeatureName())
expectedErr:=fmt.Sprintf(`[4,"%v","%v","Field %s required but not found for feature %s",{}]`, mockUniqueID, ocppj.OccurrenceConstraintViolation, mockField, mockResponse.GetFeatureName())
309
+
expectedErr:=fmt.Sprintf(`[4,"%v","%v","Field %s required but not found for feature %s",{}]`, mockUniqueID, ocppj.OccurrenceConstraintErrorType(suite.chargePoint), mockField, mockResponse.GetFeatureName())
NotImplemented ocpp.ErrorCode="NotImplemented"// Requested Action is not known by receiver.
188
-
NotSupported ocpp.ErrorCode="NotSupported"// Requested Action is recognized but not supported by the receiver.
189
-
InternalError ocpp.ErrorCode="InternalError"// An internal error occurred and the receiver was not able to process the requested Action successfully.
190
-
MessageTypeNotSupported ocpp.ErrorCode="MessageTypeNotSupported"// A message with an Message Type Number received that is not supported by this implementation.
191
-
ProtocolError ocpp.ErrorCode="ProtocolError"// Payload for Action is incomplete.
192
-
SecurityError ocpp.ErrorCode="SecurityError"// During the processing of Action a security issue occurred preventing receiver from completing the Action successfully.
193
-
PropertyConstraintViolation ocpp.ErrorCode="PropertyConstraintViolation"// Payload is syntactically correct but at least one field contains an invalid value.
194
-
OccurrenceConstraintViolation ocpp.ErrorCode="OccurrenceConstraintViolation"// Payload for Action is syntactically correct but at least one of the fields violates occurrence constraints.
195
-
TypeConstraintViolation ocpp.ErrorCode="TypeConstraintViolation"// Payload for Action is syntactically correct but at least one of the fields violates data type constraints (e.g. “somestring”: 12).
196
-
GenericError ocpp.ErrorCode="GenericError"// Any other error not covered by the previous ones.
197
-
FormatViolationV2 ocpp.ErrorCode="FormatViolation"// Payload for Action is syntactically incorrect. This is only valid for OCPP 2.0.1
198
-
FormatViolationV16 ocpp.ErrorCode="FormationViolation"// Payload for Action is syntactically incorrect or not conform the PDU structure for Action. This is only valid for OCPP 1.6
187
+
NotImplemented ocpp.ErrorCode="NotImplemented"// Requested Action is not known by receiver.
188
+
NotSupported ocpp.ErrorCode="NotSupported"// Requested Action is recognized but not supported by the receiver.
189
+
InternalError ocpp.ErrorCode="InternalError"// An internal error occurred and the receiver was not able to process the requested Action successfully.
190
+
MessageTypeNotSupported ocpp.ErrorCode="MessageTypeNotSupported"// A message with a Message Type Number received that is not supported by this implementation.
191
+
ProtocolError ocpp.ErrorCode="ProtocolError"// Payload for Action is incomplete.
192
+
SecurityError ocpp.ErrorCode="SecurityError"// During the processing of Action a security issue occurred preventing receiver from completing the Action successfully.
193
+
PropertyConstraintViolation ocpp.ErrorCode="PropertyConstraintViolation"// Payload is syntactically correct but at least one field contains an invalid value.
194
+
OccurrenceConstraintViolationV2 ocpp.ErrorCode="OccurrenceConstraintViolation"// Payload for Action is syntactically correct but at least one of the fields violates occurrence constraints.
195
+
OccurrenceConstraintViolationV16 ocpp.ErrorCode="OccurenceConstraintViolation"// Payload for Action is syntactically correct but at least one of the fields violates occurrence constraints. Contains a typo in OCPP 1.6
196
+
TypeConstraintViolation ocpp.ErrorCode="TypeConstraintViolation"// Payload for Action is syntactically correct but at least one of the fields violates data type constraints (e.g. “somestring”: 12).
197
+
GenericError ocpp.ErrorCode="GenericError"// Any other error not covered by the previous ones.
198
+
FormatViolationV2 ocpp.ErrorCode="FormatViolation"// Payload for Action is syntactically incorrect. This is only valid for OCPP 2.0.1
199
+
FormatViolationV16 ocpp.ErrorCode="FormationViolation"// Payload for Action is syntactically incorrect or not conform the PDU structure for Action. This is only valid for OCPP 1.6
0 commit comments