NLUError
public enum NLUError : Error, Equatable, LocalizedError
Errors thrown by an NLUService instance.
-
The NLUService instance was configured with incompatible settings.
Declaration
Swift
case invalidConfiguration(String) -
The NLUService tokenizer encountered an error.
Declaration
Swift
case tokenizer(String) -
The model provided to the NLUService instance encountered an error.
Declaration
Swift
case model(String) -
There was a problem with the metadata provided to the NLUService instance.
Declaration
Swift
case metadata(String) -
LocalizedErrorimplementation so thatlocalizedDescriptionisn’t an enum index.Declaration
Swift
public var errorDescription: String? { get }
View on GitHub
NLUError Enumeration Reference