Return errors on validation