Module Values.AthenaErrorSource

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.

Sourcetype nonrec t = {
  1. errorCategory : ErrorCategory.t option;
    (*

    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

    *)
  2. errorType : ErrorType.t option;
    (*

    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.

    *)
  3. retryable : Boolean.t option;
    (*

    True if the query might succeed if resubmitted.

    *)
  4. errorMessage : String_.t option;
    (*

    Contains a short description of the error that occurred.

    *)
}
Sourceval make : ?errorCategory:??? -> ?errorType:??? -> ?retryable:??? -> ?errorMessage:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of ErrorCategory.t | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t