Struct aws_sdk_athena::types::AthenaError
source · #[non_exhaustive]pub struct AthenaError {
pub error_category: Option<i32>,
pub error_type: Option<i32>,
pub retryable: bool,
pub error_message: Option<String>,
}Expand description
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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.error_category: Option<i32>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
error_type: Option<i32>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: boolTrue if the query might succeed if resubmitted.
error_message: Option<String>Contains a short description of the error that occurred.
Implementations§
source§impl AthenaError
impl AthenaError
sourcepub fn error_category(&self) -> Option<i32>
pub fn error_category(&self) -> Option<i32>
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
sourcepub fn error_type(&self) -> Option<i32>
pub fn error_type(&self) -> Option<i32>
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.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
Contains a short description of the error that occurred.
source§impl AthenaError
impl AthenaError
sourcepub fn builder() -> AthenaErrorBuilder
pub fn builder() -> AthenaErrorBuilder
Creates a new builder-style object to manufacture AthenaError.
Trait Implementations§
source§impl Clone for AthenaError
impl Clone for AthenaError
source§fn clone(&self) -> AthenaError
fn clone(&self) -> AthenaError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AthenaError
impl Debug for AthenaError
source§impl PartialEq for AthenaError
impl PartialEq for AthenaError
source§fn eq(&self, other: &AthenaError) -> bool
fn eq(&self, other: &AthenaError) -> bool
self and other values to be equal, and is used
by ==.