pub enum AssociatePhoneNumbersWithVoiceConnectorError {
AccessDenied(String),
BadRequest(String),
Forbidden(String),
NotFound(String),
ServiceFailure(String),
ServiceUnavailable(String),
ThrottledClient(String),
UnauthorizedClient(String),
}Expand description
Errors returned by AssociatePhoneNumbersWithVoiceConnector
Variants§
AccessDenied(String)
You don't have permissions to perform the requested operation.
BadRequest(String)
The input parameters don't match the service's restrictions.
Forbidden(String)
The client is permanently forbidden from making the request. For example, when a user tries to create an account from an unsupported Region.
NotFound(String)
One or more of the resources in the request does not exist in the system.
ServiceFailure(String)
The service encountered an unexpected error.
The service is currently unavailable.
ThrottledClient(String)
The client exceeded its request rate limit.
The client is not currently authorized to make the request.
Implementations§
Trait Implementations§
Source§impl Error for AssociatePhoneNumbersWithVoiceConnectorError
impl Error for AssociatePhoneNumbersWithVoiceConnectorError
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 AssociatePhoneNumbersWithVoiceConnectorError
impl PartialEq for AssociatePhoneNumbersWithVoiceConnectorError
Source§fn eq(&self, other: &AssociatePhoneNumbersWithVoiceConnectorError) -> bool
fn eq(&self, other: &AssociatePhoneNumbersWithVoiceConnectorError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AssociatePhoneNumbersWithVoiceConnectorError
Auto Trait Implementations§
impl Freeze for AssociatePhoneNumbersWithVoiceConnectorError
impl RefUnwindSafe for AssociatePhoneNumbersWithVoiceConnectorError
impl Send for AssociatePhoneNumbersWithVoiceConnectorError
impl Sync for AssociatePhoneNumbersWithVoiceConnectorError
impl Unpin for AssociatePhoneNumbersWithVoiceConnectorError
impl UnwindSafe for AssociatePhoneNumbersWithVoiceConnectorError
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