getErrorField

open fun getErrorField(target: KSDeclaration, annotation: KSAnnotation, defaultField: String): String

Customizes the field name reported in the ValidationError.