docs: private void addError(IValidationContext context, ConstraintViolation violation, JsonPointer pointer) {
  
  		// extract the error code, if any
  		final Class<? extends Annotation> annotationType = violation.getConstraintDescriptor().getAnnotation().annotationType();
  		final IErrorCode validationCode = constraintConverter.getErrorCode(annotationType);
  		final IErrorLocationType validationType = constraintConverter.getErrorLocationType(annotationType);
  
  		// add the error to the validation context
  		context.addError(pointer.toString(), validationType, validationCode, violation.getMessage());
  	}