CommandModelError

public enum CommandModelError : Error, Equatable, LocalizedError

Errors thrown by command models.

  • The command recognizer was unable to configure the recognizer model(s).

    Declaration

    Swift

    case model(String)
  • The command recognizer encountered an error during the processing of the audio frame.

    Declaration

    Swift

    case process(String)
  • The command recognizer encountered an error during the configuration or running of the filter model.

    Declaration

    Swift

    case filter(String)
  • The command recognizer encountered an error during the configuration or running of the encode model.

    Declaration

    Swift

    case encode(String)
  • The command recognizer encountered an error during the configuration or running of the detect model.

    Declaration

    Swift

    case detect(String)
  • LocalizedError implementation so that localizedDescription isn’t an enum index.

    Declaration

    Swift

    public var errorDescription: String? { get }