Package | Description |
---|---|
com.azure.ai.textanalytics.models |
Package containing classes for TextAnalyticsClient.
|
Modifier and Type | Field and Description |
---|---|
static TextAnalyticsErrorCode |
TextAnalyticsErrorCode.EMPTY_REQUEST
Enum value EmptyRequest.
|
static TextAnalyticsErrorCode |
TextAnalyticsErrorCode.INTERNAL_SERVER_ERROR
Enum value InternalServerError.
|
static TextAnalyticsErrorCode |
TextAnalyticsErrorCode.INVALID_ARGUMENT
Enum value InvalidArgument.
|
static TextAnalyticsErrorCode |
TextAnalyticsErrorCode.INVALID_COUNTRY_HINT
Enum value InvalidCountryHint.
|
static TextAnalyticsErrorCode |
TextAnalyticsErrorCode.INVALID_DOCUMENT
Enum value InvalidDocument.
|
static TextAnalyticsErrorCode |
TextAnalyticsErrorCode.INVALID_DOCUMENT_BATCH
Enum value InvalidDocumentBatch.
|
static TextAnalyticsErrorCode |
TextAnalyticsErrorCode.INVALID_PARAMETER_VALUE
Enum value InvalidParameterValue.
|
static TextAnalyticsErrorCode |
TextAnalyticsErrorCode.INVALID_REQUEST
Enum value InvalidRequest.
|
static TextAnalyticsErrorCode |
TextAnalyticsErrorCode.INVALID_REQUEST_BODY_FORMAT
Enum value InvalidRequestBodyFormat.
|
static TextAnalyticsErrorCode |
TextAnalyticsErrorCode.MISSING_INPUT_RECORDS
Enum value MissingInputRecords.
|
static TextAnalyticsErrorCode |
TextAnalyticsErrorCode.MODEL_VERSION_INCORRECT
Enum value ModelVersionIncorrect.
|
static TextAnalyticsErrorCode |
TextAnalyticsErrorCode.SERVICE_UNAVAILABLE
Enum value ServiceUnavailable.
|
static TextAnalyticsErrorCode |
TextAnalyticsErrorCode.UNSUPPORTED_LANGUAGE_CODE
Enum value UnsupportedLanguageCode.
|
Modifier and Type | Method and Description |
---|---|
static TextAnalyticsErrorCode |
TextAnalyticsErrorCode.fromString(String name)
Creates or finds a TextAnalyticsErrorCode from its string representation.
|
TextAnalyticsErrorCode |
TextAnalyticsError.getErrorCode()
Get the code property: Error code.
|
TextAnalyticsErrorCode |
TextAnalyticsException.getErrorCode()
Gets the
TextAnalyticsErrorCode for this exception. |
Constructor and Description |
---|
TextAnalyticsError(TextAnalyticsErrorCode errorCode,
String message,
String target)
Creates a
TextAnalyticsError model that describes text analytics error. |
TextAnalyticsException(String message,
TextAnalyticsErrorCode errorCode,
String target)
Initializes a new instance of the
TextAnalyticsException class. |
Copyright © 2021 Microsoft Corporation. All rights reserved.