Struct aws_sdk_networkmanager::error::AssociateCustomerGatewayError [−][src]
#[non_exhaustive]pub struct AssociateCustomerGatewayError {
pub kind: AssociateCustomerGatewayErrorKind,
// some fields omitted
}
Expand description
Error type for the AssociateCustomerGateway
operation.
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.kind: AssociateCustomerGatewayErrorKind
Kind of error that occurred.
Implementations
Creates a new AssociateCustomerGatewayError
.
Creates the AssociateCustomerGatewayError::Unhandled
variant from any error type.
Creates the AssociateCustomerGatewayError::Unhandled
variant from a aws_smithy_types::Error
.
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Returns the request ID if it’s available.
Returns true
if the error kind is AssociateCustomerGatewayErrorKind::AccessDeniedException
.
Returns true
if the error kind is AssociateCustomerGatewayErrorKind::ConflictException
.
Returns true
if the error kind is AssociateCustomerGatewayErrorKind::InternalServerException
.
Returns true
if the error kind is AssociateCustomerGatewayErrorKind::ResourceNotFoundException
.
Returns true
if the error kind is AssociateCustomerGatewayErrorKind::ServiceQuotaExceededException
.
Returns true
if the error kind is AssociateCustomerGatewayErrorKind::ThrottlingException
.
Returns true
if the error kind is AssociateCustomerGatewayErrorKind::ValidationException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AssociateCustomerGatewayError
impl Send for AssociateCustomerGatewayError
impl Sync for AssociateCustomerGatewayError
impl Unpin for AssociateCustomerGatewayError
impl !UnwindSafe for AssociateCustomerGatewayError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more