SpeechPipelineError
public enum SpeechPipelineError : Error, Equatable, LocalizedError
Errors thrown by the SpeechPipeline
.
See also
SpeechPipeline-
The SpeechPipeline internal buffers entered an illegal state.
Declaration
Swift
case illegalState(String)
-
The SpeechPipeline received a response that was invalid.
Declaration
Swift
case invalidResponse(String)
-
The SpeechPipeline encountered a failure in a component.
Declaration
Swift
case failure(String)
-
A pipeline component attempted to send an error to SpeechContext’s listeners without first setting the SpeechContext.error property.
Declaration
Swift
case errorNotSet(String)
-
The settings provided to the pipeline builder were not sufficient to create a pipeline.
Declaration
Swift
case incompleteBuilder(String)
-
The api key provided is not valid.
Declaration
Swift
case apiKey(String)
-
LocalizedError
implementation so thatlocalizedDescription
isn’t an enum index.Declaration
Swift
public var errorDescription: String? { get }