pub enum DeleteContactMethodError {
AccessDenied(String),
InvalidInput(String),
NotFound(String),
OperationFailure(String),
Service(String),
Unauthenticated(String),
}Expand description
Errors returned by DeleteContactMethod
Variants§
AccessDenied(String)
Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to access a resource.
InvalidInput(String)
Lightsail throws this exception when user input does not conform to the validation rules of an input field.
Domain and distribution APIs are only available in the N. Virginia (us-east-1) AWS Region. Please set your AWS Region configuration to us-east-1 to create, view, or edit these resources.
NotFound(String)
Lightsail throws this exception when it cannot find a resource.
OperationFailure(String)
Lightsail throws this exception when an operation fails to execute.
Service(String)
A general service exception.
Unauthenticated(String)
Lightsail throws this exception when the user has not been authenticated.
Implementations§
Source§impl DeleteContactMethodError
impl DeleteContactMethodError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DeleteContactMethodError>
Trait Implementations§
Source§impl Debug for DeleteContactMethodError
impl Debug for DeleteContactMethodError
Source§impl Display for DeleteContactMethodError
impl Display for DeleteContactMethodError
Source§impl Error for DeleteContactMethodError
impl Error for DeleteContactMethodError
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 DeleteContactMethodError
impl PartialEq for DeleteContactMethodError
impl StructuralPartialEq for DeleteContactMethodError
Auto Trait Implementations§
impl Freeze for DeleteContactMethodError
impl RefUnwindSafe for DeleteContactMethodError
impl Send for DeleteContactMethodError
impl Sync for DeleteContactMethodError
impl Unpin for DeleteContactMethodError
impl UnwindSafe for DeleteContactMethodError
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