add ValidationError to index
fix documentation