error
An error object that specifies the error that occurred during a speech recognition task.
Declaration
var error: (any Error)? { get }Discussion
The system may return one of the errors listed in the table below.
Error Code | Error Domain | Description |
|---|---|---|
|
| Assets are not installed. |
|
| Siri or Dictation is disabled. |
|
| Failed to initialize recognizer. |
|
| Request was canceled. |
|
| Failure occurred during speech recognition. |
|
| Trying to start recognition while an earlier instance is still active. |
|
| Connection to speech process was invalidated. |
|
| Connection to speech process was interrupted. |
|
| Failed to recognize any speech. |
|
| Request is not authorized. |