pub enum AssociateCustomerGatewayError {
AccessDenied(String),
Conflict(String),
InternalServer(String),
ResourceNotFound(String),
ServiceQuotaExceeded(String),
Throttling(String),
}Expand description
Errors returned by AssociateCustomerGateway
Variants§
AccessDenied(String)
You do not have sufficient access to perform this action.
Conflict(String)
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
InternalServer(String)
The request has failed due to an internal error.
ResourceNotFound(String)
The specified resource could not be found.
ServiceQuotaExceeded(String)
A service limit was exceeded.
Throttling(String)
The request was denied due to request throttling.
Implementations§
Trait Implementations§
Source§impl Error for AssociateCustomerGatewayError
impl Error for AssociateCustomerGatewayError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 for AssociateCustomerGatewayError
impl PartialEq for AssociateCustomerGatewayError
Source§fn eq(&self, other: &AssociateCustomerGatewayError) -> bool
fn eq(&self, other: &AssociateCustomerGatewayError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AssociateCustomerGatewayError
Auto Trait Implementations§
impl Freeze for AssociateCustomerGatewayError
impl RefUnwindSafe for AssociateCustomerGatewayError
impl Send for AssociateCustomerGatewayError
impl Sync for AssociateCustomerGatewayError
impl Unpin for AssociateCustomerGatewayError
impl UnwindSafe for AssociateCustomerGatewayError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more