Struct aws_sdk_athena::model::AthenaError
source · #[non_exhaustive]pub struct AthenaError { /* private fields */ }
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.
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() -> Builder
pub fn builder() -> Builder
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<AthenaError> for AthenaError
impl PartialEq<AthenaError> 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 ==
.