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',
  // An internal error occurred and the receiver was not able to process the requested Action successfully
  INTERNAL_ERROR = 'InternalError',
  // Requested Action is not known by receiver
  NOT_IMPLEMENTED = 'NotImplemented',
  // Requested Action is recognized but not supported by the receiver
  NOT_SUPPORTED = 'NotSupported',
  // Payload for Action is syntactically correct but at least one of the fields violates occurrence constraints
  OCCURRENCE_CONSTRAINT_VIOLATION = 'OccurrenceConstraintViolation',
  // Payload is syntactically correct but at least one field contains an invalid value
  PROPERTY_CONSTRAINT_VIOLATION = 'PropertyConstraintViolation',
  // Payload for Action is incomplete
  PROTOCOL_ERROR = 'ProtocolError',
  // During the processing of Action a security issue occurred preventing receiver from completing the Action successfully
  SECURITY_ERROR = 'SecurityError',
  // eslint-disable-next-line @cspell/spellchecker
  // 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',
}
