errors
Get speech-error information for the synthesizer.
Declaration
static let errors: NSSpeechSynthesizer.SpeechPropertyKeyDiscussion
A dictionary object that contains speech-error information. See NSSpeechSynthesizer.SpeechPropertyKey.ErrorKey for a description of the keys present in the dictionary.
This property lets you get information about various run-time errors that occur during speaking, such as the detection of badly formed embedded commands. Errors returned directly by the Speech Synthesis Manager are not reported here.
If your application implements the speechSynthesizer(_:didEncounterErrorAt:of:message:) delegate message, the delegate message can use this property to get error information.
This property is used with setObject(_:forProperty:).