Enum aws_sdk_appmesh::Error
source · [−]#[non_exhaustive]
pub enum Error {
BadRequestException(BadRequestException),
ConflictException(ConflictException),
ForbiddenException(ForbiddenException),
InternalServerErrorException(InternalServerErrorException),
LimitExceededException(LimitExceededException),
NotFoundException(NotFoundException),
ResourceInUseException(ResourceInUseException),
ServiceUnavailableException(ServiceUnavailableException),
TooManyRequestsException(TooManyRequestsException),
TooManyTagsException(TooManyTagsException),
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
BadRequestException(BadRequestException)
The request syntax was malformed. Check your request syntax and try again.
ConflictException(ConflictException)
The request contains a client token that was used for a previous update resource call with different specifications. Try the request again with a new client token.
ForbiddenException(ForbiddenException)
You don't have permissions to perform this action.
InternalServerErrorException(InternalServerErrorException)
The request processing has failed because of an unknown error, exception, or failure.
LimitExceededException(LimitExceededException)
You have exceeded a service limit for your account. For more information, see Service Limits in the AWS App Mesh User Guide.
NotFoundException(NotFoundException)
The specified resource doesn't exist. Check your request syntax and try again.
ResourceInUseException(ResourceInUseException)
You can't delete the specified resource because it's in use or required by another resource.
ServiceUnavailableException(ServiceUnavailableException)
The request has failed due to a temporary failure of the service.
TooManyRequestsException(TooManyRequestsException)
The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.
TooManyTagsException(TooManyTagsException)
The request exceeds the maximum allowed number of tags allowed per resource. The current limit is 50 user tags per resource. You must reduce the number of tags in the request. None of the tags in this request were applied.
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<CreateGatewayRouteError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateGatewayRouteError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateGatewayRouteError, R>) -> Self
fn from(err: SdkError<CreateGatewayRouteError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateMeshError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateMeshError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateMeshError, R>) -> Self
fn from(err: SdkError<CreateMeshError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateRouteError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateRouteError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateRouteError, R>) -> Self
fn from(err: SdkError<CreateRouteError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateVirtualGatewayError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateVirtualGatewayError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateVirtualGatewayError, R>) -> Self
fn from(err: SdkError<CreateVirtualGatewayError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateVirtualNodeError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateVirtualNodeError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateVirtualNodeError, R>) -> Self
fn from(err: SdkError<CreateVirtualNodeError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateVirtualRouterError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateVirtualRouterError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateVirtualRouterError, R>) -> Self
fn from(err: SdkError<CreateVirtualRouterError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateVirtualServiceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateVirtualServiceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateVirtualServiceError, R>) -> Self
fn from(err: SdkError<CreateVirtualServiceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteGatewayRouteError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteGatewayRouteError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteGatewayRouteError, R>) -> Self
fn from(err: SdkError<DeleteGatewayRouteError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteMeshError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteMeshError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteMeshError, R>) -> Self
fn from(err: SdkError<DeleteMeshError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteRouteError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteRouteError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteRouteError, R>) -> Self
fn from(err: SdkError<DeleteRouteError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteVirtualGatewayError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteVirtualGatewayError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteVirtualGatewayError, R>) -> Self
fn from(err: SdkError<DeleteVirtualGatewayError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteVirtualNodeError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteVirtualNodeError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteVirtualNodeError, R>) -> Self
fn from(err: SdkError<DeleteVirtualNodeError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteVirtualRouterError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteVirtualRouterError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteVirtualRouterError, R>) -> Self
fn from(err: SdkError<DeleteVirtualRouterError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteVirtualServiceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteVirtualServiceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteVirtualServiceError, R>) -> Self
fn from(err: SdkError<DeleteVirtualServiceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeGatewayRouteError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeGatewayRouteError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeGatewayRouteError, R>) -> Self
fn from(err: SdkError<DescribeGatewayRouteError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeMeshError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeMeshError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeMeshError, R>) -> Self
fn from(err: SdkError<DescribeMeshError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeRouteError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeRouteError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeRouteError, R>) -> Self
fn from(err: SdkError<DescribeRouteError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeVirtualGatewayError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeVirtualGatewayError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeVirtualGatewayError, R>) -> Self
fn from(err: SdkError<DescribeVirtualGatewayError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeVirtualNodeError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeVirtualNodeError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeVirtualNodeError, R>) -> Self
fn from(err: SdkError<DescribeVirtualNodeError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeVirtualRouterError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeVirtualRouterError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeVirtualRouterError, R>) -> Self
fn from(err: SdkError<DescribeVirtualRouterError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeVirtualServiceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeVirtualServiceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeVirtualServiceError, R>) -> Self
fn from(err: SdkError<DescribeVirtualServiceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListGatewayRoutesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListGatewayRoutesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListGatewayRoutesError, R>) -> Self
fn from(err: SdkError<ListGatewayRoutesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListMeshesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListMeshesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListMeshesError, R>) -> Self
fn from(err: SdkError<ListMeshesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListRoutesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListRoutesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListRoutesError, R>) -> Self
fn from(err: SdkError<ListRoutesError, 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<ListVirtualGatewaysError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListVirtualGatewaysError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListVirtualGatewaysError, R>) -> Self
fn from(err: SdkError<ListVirtualGatewaysError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListVirtualNodesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListVirtualNodesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListVirtualNodesError, R>) -> Self
fn from(err: SdkError<ListVirtualNodesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListVirtualRoutersError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListVirtualRoutersError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListVirtualRoutersError, R>) -> Self
fn from(err: SdkError<ListVirtualRoutersError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListVirtualServicesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListVirtualServicesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListVirtualServicesError, R>) -> Self
fn from(err: SdkError<ListVirtualServicesError, 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<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<UpdateGatewayRouteError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateGatewayRouteError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateGatewayRouteError, R>) -> Self
fn from(err: SdkError<UpdateGatewayRouteError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UpdateMeshError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateMeshError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateMeshError, R>) -> Self
fn from(err: SdkError<UpdateMeshError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UpdateRouteError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateRouteError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateRouteError, R>) -> Self
fn from(err: SdkError<UpdateRouteError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UpdateVirtualGatewayError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateVirtualGatewayError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateVirtualGatewayError, R>) -> Self
fn from(err: SdkError<UpdateVirtualGatewayError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UpdateVirtualNodeError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateVirtualNodeError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateVirtualNodeError, R>) -> Self
fn from(err: SdkError<UpdateVirtualNodeError, 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