# PhraseRecognitionSystem.ErrorDelegate

> Delegate for OnError event.

## Definition

* **Type:** Delegate
* **Namespace:** [UnityEngine.Windows.Speech](/engine/6000.6/script-reference/unityengine/windows/speech.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public delegate void PhraseRecognitionSystem.ErrorDelegate(SpeechError errorCode)
```
