pub enum EnableProactiveEngagementError {
InternalError(String),
InvalidOperation(String),
InvalidParameter(String),
OptimisticLock(String),
ResourceNotFound(String),
}Expand description
Errors returned by EnableProactiveEngagement
Variants§
InternalError(String)
Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.
InvalidOperation(String)
Exception that indicates that the operation would not cause any change to occur.
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 EnableProactiveEngagementError
impl Error for EnableProactiveEngagementError
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 EnableProactiveEngagementError
impl PartialEq for EnableProactiveEngagementError
Source§fn eq(&self, other: &EnableProactiveEngagementError) -> bool
fn eq(&self, other: &EnableProactiveEngagementError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EnableProactiveEngagementError
Auto Trait Implementations§
impl Freeze for EnableProactiveEngagementError
impl RefUnwindSafe for EnableProactiveEngagementError
impl Send for EnableProactiveEngagementError
impl Sync for EnableProactiveEngagementError
impl Unpin for EnableProactiveEngagementError
impl UnwindSafe for EnableProactiveEngagementError
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