TextAnalyticsError Class

TextAnalyticsError contains the error code, message, and other details that explain why the batch or individual document failed to be processed by the service.

Inheritance
azure.ai.textanalytics._models.DictMixin
TextAnalyticsError

Constructor

TextAnalyticsError(**kwargs)

Variables

code
str

Error code. Possible values include: 'invalidRequest', 'invalidArgument', 'internalServerError', 'serviceUnavailable', 'invalidParameterValue', 'invalidRequestBodyFormat', 'emptyRequest', 'missingInputRecords', 'invalidDocument', 'modelVersionIncorrect', 'invalidDocumentBatch', 'unsupportedLanguageCode', 'invalidCountryHint'

message
str

Error message.

target
str

Error target.