pub enum UpdateEmergencyContactSettingsError {
InternalError(String),
InvalidParameter(String),
OptimisticLock(String),
ResourceNotFound(String),
}Expand description
Errors returned by UpdateEmergencyContactSettings
Variants§
InternalError(String)
Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.
InvalidParameter(String)
Exception that indicates that the parameters passed to the API are invalid.
OptimisticLock(String)
Exception that indicates that the resource state has been modified by another client. Retrieve the resource and then retry your request.
ResourceNotFound(String)
Exception indicating the specified resource does not exist.
Implementations§
Trait Implementations§
Source§impl Error for UpdateEmergencyContactSettingsError
impl Error for UpdateEmergencyContactSettingsError
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 UpdateEmergencyContactSettingsError
impl PartialEq for UpdateEmergencyContactSettingsError
Source§fn eq(&self, other: &UpdateEmergencyContactSettingsError) -> bool
fn eq(&self, other: &UpdateEmergencyContactSettingsError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateEmergencyContactSettingsError
Auto Trait Implementations§
impl Freeze for UpdateEmergencyContactSettingsError
impl RefUnwindSafe for UpdateEmergencyContactSettingsError
impl Send for UpdateEmergencyContactSettingsError
impl Sync for UpdateEmergencyContactSettingsError
impl Unpin for UpdateEmergencyContactSettingsError
impl UnwindSafe for UpdateEmergencyContactSettingsError
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