add a bit of scaladoc for validation error