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

> The SpeechRecognitionErrorCode type of @salmonui/inputs/speech-to-text: A Web Speech SpeechRecognitionErrorEvent.error code, or 'unsupported'.

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

```ts
import type { SpeechRecognitionErrorCode } 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: type

```ts
type SpeechRecognitionErrorCode = 'no-speech' | 'aborted' | 'audio-capture' | 'network' | 'not-allowed' | 'service-not-allowed' | 'bad-grammar' | 'language-not-supported' | 'unsupported' | (string & {});
```

A Web Speech `SpeechRecognitionErrorEvent.error` code, or `'unsupported'`.
