Enum aws_sdk_mgn::Error
source · [−]#[non_exhaustive]
pub enum Error {
AccessDeniedException(AccessDeniedException),
ConflictException(ConflictException),
InternalServerException(InternalServerException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceQuotaExceededException(ServiceQuotaExceededException),
ThrottlingException(ThrottlingException),
UninitializedAccountException(UninitializedAccountException),
ValidationException(ValidationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
All possible error types for this service.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
Operating denied due to a file permission or access check error.
ConflictException(ConflictException)
The request could not be completed due to a conflict with the current state of the target resource.
InternalServerException(InternalServerException)
The server encountered an unexpected condition that prevented it from fulfilling the request.
ResourceNotFoundException(ResourceNotFoundException)
Resource not found exception.
ServiceQuotaExceededException(ServiceQuotaExceededException)
The request could not be completed because its exceeded the service quota.
ThrottlingException(ThrottlingException)
Reached throttling quota exception.
UninitializedAccountException(UninitializedAccountException)
Uninitialized account exception.
ValidationException(ValidationException)
Validate exception.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
sourceimpl Error for Error
impl Error for Error
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl<R> From<SdkError<ChangeServerLifeCycleStateError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ChangeServerLifeCycleStateError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ChangeServerLifeCycleStateError, R>) -> Self
fn from(err: SdkError<ChangeServerLifeCycleStateError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateReplicationConfigurationTemplateError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateReplicationConfigurationTemplateError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateReplicationConfigurationTemplateError, R>) -> Self
fn from(err: SdkError<CreateReplicationConfigurationTemplateError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteJobError, R>) -> Self
fn from(err: SdkError<DeleteJobError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteReplicationConfigurationTemplateError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteReplicationConfigurationTemplateError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteReplicationConfigurationTemplateError, R>) -> Self
fn from(err: SdkError<DeleteReplicationConfigurationTemplateError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteSourceServerError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteSourceServerError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteSourceServerError, R>) -> Self
fn from(err: SdkError<DeleteSourceServerError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteVcenterClientError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteVcenterClientError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteVcenterClientError, R>) -> Self
fn from(err: SdkError<DeleteVcenterClientError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeJobLogItemsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeJobLogItemsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeJobLogItemsError, R>) -> Self
fn from(err: SdkError<DescribeJobLogItemsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeJobsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeJobsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeJobsError, R>) -> Self
fn from(err: SdkError<DescribeJobsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeReplicationConfigurationTemplatesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeReplicationConfigurationTemplatesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(
err: SdkError<DescribeReplicationConfigurationTemplatesError, R>
) -> Self
fn from(
err: SdkError<DescribeReplicationConfigurationTemplatesError, R>
) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeSourceServersError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeSourceServersError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeSourceServersError, R>) -> Self
fn from(err: SdkError<DescribeSourceServersError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeVcenterClientsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeVcenterClientsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeVcenterClientsError, R>) -> Self
fn from(err: SdkError<DescribeVcenterClientsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DisconnectFromServiceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DisconnectFromServiceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DisconnectFromServiceError, R>) -> Self
fn from(err: SdkError<DisconnectFromServiceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<FinalizeCutoverError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<FinalizeCutoverError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<FinalizeCutoverError, R>) -> Self
fn from(err: SdkError<FinalizeCutoverError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetLaunchConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetLaunchConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetLaunchConfigurationError, R>) -> Self
fn from(err: SdkError<GetLaunchConfigurationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetReplicationConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetReplicationConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetReplicationConfigurationError, R>) -> Self
fn from(err: SdkError<GetReplicationConfigurationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<InitializeServiceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<InitializeServiceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<InitializeServiceError, R>) -> Self
fn from(err: SdkError<InitializeServiceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<MarkAsArchivedError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<MarkAsArchivedError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<MarkAsArchivedError, R>) -> Self
fn from(err: SdkError<MarkAsArchivedError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<RetryDataReplicationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RetryDataReplicationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RetryDataReplicationError, R>) -> Self
fn from(err: SdkError<RetryDataReplicationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<StartCutoverError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartCutoverError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartCutoverError, R>) -> Self
fn from(err: SdkError<StartCutoverError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<StartReplicationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartReplicationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartReplicationError, R>) -> Self
fn from(err: SdkError<StartReplicationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<StartTestError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartTestError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartTestError, R>) -> Self
fn from(err: SdkError<StartTestError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<TerminateTargetInstancesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TerminateTargetInstancesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<TerminateTargetInstancesError, R>) -> Self
fn from(err: SdkError<TerminateTargetInstancesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UntagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UntagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UpdateLaunchConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateLaunchConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateLaunchConfigurationError, R>) -> Self
fn from(err: SdkError<UpdateLaunchConfigurationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UpdateReplicationConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateReplicationConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateReplicationConfigurationError, R>) -> Self
fn from(err: SdkError<UpdateReplicationConfigurationError, R>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more