AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Athena.Model.AthenaError

Namespace: Amazon.Athena.Model
Assembly: AWSSDK.Athena.dll
Version: 3.x.y.z

Syntax

C#
public class AthenaError

The AthenaError type exposes the following members

Constructors

NameDescription
Public Method AthenaError()

Properties

NameTypeDescription
Public Property 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

Public Property ErrorMessage System.String

Gets and sets the property ErrorMessage.

Contains a short description of the error that occurred.

Public Property 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.

Public Property Retryable System.Boolean

Gets and sets the property Retryable.

True if the query might succeed if resubmitted.

Version Information

.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