# SpeechRecognitionError (@salmonui/inputs/speech-to-text)

> The SpeechRecognitionError interface of @salmonui/inputs/speech-to-text.

Canonical: https://salmonui.dev/docs/reference/inputs/speech-to-text/SpeechRecognitionError

```ts
import type { SpeechRecognitionError } from '@salmonui/inputs/speech-to-text';
```

Entry index: https://salmonui.dev/docs/reference/inputs/speech-to-text (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/inputs/speech-to-text.md).

## Reference

Kind: interface

```ts
interface SpeechRecognitionError {
    readonly code: SpeechRecognitionErrorCode;
    readonly message: string;
}
```

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `code` | `readonly code: SpeechRecognitionErrorCode;` |  |  |
| `message` | `readonly message: string;` |  |  |
