AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Provides information about an Athena query error. The AthenaError
feature provides
standardized error information to help you understand failed queries and take steps
after a query failure occurs. AthenaError
includes an ErrorCategory
field that specifies whether the cause of the failed query is due to system error,
user error, or other error.
Namespace: Amazon.Athena.Model
Assembly: AWSSDK.Athena.dll
Version: 3.x.y.z
public class AthenaError
The AthenaError type exposes the following members
Name | Description | |
---|---|---|
AthenaError() |
Name | Type | Description | |
---|---|---|---|
ErrorCategory | System.Int32 |
Gets and sets the property ErrorCategory. An integer value that specifies the category of a query failure error. The following list shows the category for each integer value. 1 - System 2 - User 3 - Other |
|
ErrorMessage | System.String |
Gets and sets the property ErrorMessage. Contains a short description of the error that occurred. |
|
ErrorType | System.Int32 |
Gets and sets the property ErrorType. An integer value that provides specific information about an Athena query error. For the meaning of specific values, see the Error Type Reference in the Amazon Athena User Guide. |
|
Retryable | System.Boolean |
Gets and sets the property Retryable. True if the query might succeed if resubmitted. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5