toCommandValidationException

fun <T> Set<ConstraintViolation<T>>.toCommandValidationException(command: Any, errorMsg: String = "Command validation failed."): CommandValidationException