# AddSearchQueryErrors(IEnumerable<SearchQueryError>)

> Adds new query errors on this context.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Search](/engine/6000.7/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public void AddSearchQueryErrors(IEnumerable<SearchQueryError> errors)
```

### Parameters

**** (\[IEnumerable\<SearchQueryError>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)): The new errors.
