toBindingErrorInfo

fun BindingResult.toBindingErrorInfo(): ErrorInfo
fun HandlerMethodValidationException.toBindingErrorInfo(): ErrorInfo