Struct aws_sdk_athena::error::MetadataException
source · #[non_exhaustive]pub struct MetadataException { /* private fields */ }
Expand description
An exception that Athena received when it called a custom metastore. Occurs if the error is not caused by user input (InvalidRequestException
) or from the Athena platform (InternalServerException
). For example, if a user-created Lambda function is missing permissions, the Lambda 4XX
exception is returned in a MetadataException
.
Implementations§
source§impl MetadataException
impl MetadataException
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MetadataException
.
Trait Implementations§
source§impl Clone for MetadataException
impl Clone for MetadataException
source§fn clone(&self) -> MetadataException
fn clone(&self) -> MetadataException
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MetadataException
impl Debug for MetadataException
source§impl Display for MetadataException
impl Display for MetadataException
source§impl Error for MetadataException
impl Error for MetadataException
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<MetadataException> for MetadataException
impl PartialEq<MetadataException> for MetadataException
source§fn eq(&self, other: &MetadataException) -> bool
fn eq(&self, other: &MetadataException) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.