Enum aws_sdk_managedblockchain::Error
source · #[non_exhaustive]pub enum Error {
AccessDeniedException(AccessDeniedException),
IllegalActionException(IllegalActionException),
InternalServiceErrorException(InternalServiceErrorException),
InvalidRequestException(InvalidRequestException),
ResourceAlreadyExistsException(ResourceAlreadyExistsException),
ResourceLimitExceededException(ResourceLimitExceededException),
ResourceNotFoundException(ResourceNotFoundException),
ResourceNotReadyException(ResourceNotReadyException),
ThrottlingException(ThrottlingException),
TooManyTagsException(TooManyTagsException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
You don't have sufficient access to perform this action.
IllegalActionException(IllegalActionException)
InternalServiceErrorException(InternalServiceErrorException)
The request processing has failed because of an unknown error, exception or failure.
InvalidRequestException(InvalidRequestException)
The action or operation requested is invalid. Verify that the action is typed correctly.
ResourceAlreadyExistsException(ResourceAlreadyExistsException)
A resource request is issued for a resource that already exists.
ResourceLimitExceededException(ResourceLimitExceededException)
The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.
ResourceNotFoundException(ResourceNotFoundException)
A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ResourceNotReadyException(ResourceNotReadyException)
The requested resource exists but isn't in a status that can complete the operation.
ThrottlingException(ThrottlingException)
The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
TooManyTagsException(TooManyTagsException)
Unhandled(Unhandled)
Unhandled
directly is not forwards compatible. Instead, match using a variable wildcard pattern and check .code()
:
err if err.code() == Some("SpecificExceptionCode") => { /* handle the error */ }
See ProvideErrorMetadata
for what information is available for the error.An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<BuildError> for Error
impl From<BuildError> for Error
source§fn from(value: BuildError) -> Self
fn from(value: BuildError) -> Self
source§impl From<CreateAccessorError> for Error
impl From<CreateAccessorError> for Error
source§fn from(err: CreateAccessorError) -> Self
fn from(err: CreateAccessorError) -> Self
source§impl From<CreateMemberError> for Error
impl From<CreateMemberError> for Error
source§fn from(err: CreateMemberError) -> Self
fn from(err: CreateMemberError) -> Self
source§impl From<CreateNetworkError> for Error
impl From<CreateNetworkError> for Error
source§fn from(err: CreateNetworkError) -> Self
fn from(err: CreateNetworkError) -> Self
source§impl From<CreateNodeError> for Error
impl From<CreateNodeError> for Error
source§fn from(err: CreateNodeError) -> Self
fn from(err: CreateNodeError) -> Self
source§impl From<CreateProposalError> for Error
impl From<CreateProposalError> for Error
source§fn from(err: CreateProposalError) -> Self
fn from(err: CreateProposalError) -> Self
source§impl From<DeleteAccessorError> for Error
impl From<DeleteAccessorError> for Error
source§fn from(err: DeleteAccessorError) -> Self
fn from(err: DeleteAccessorError) -> Self
source§impl From<DeleteMemberError> for Error
impl From<DeleteMemberError> for Error
source§fn from(err: DeleteMemberError) -> Self
fn from(err: DeleteMemberError) -> Self
source§impl From<DeleteNodeError> for Error
impl From<DeleteNodeError> for Error
source§fn from(err: DeleteNodeError) -> Self
fn from(err: DeleteNodeError) -> Self
source§impl From<GetAccessorError> for Error
impl From<GetAccessorError> for Error
source§fn from(err: GetAccessorError) -> Self
fn from(err: GetAccessorError) -> Self
source§impl From<GetMemberError> for Error
impl From<GetMemberError> for Error
source§fn from(err: GetMemberError) -> Self
fn from(err: GetMemberError) -> Self
source§impl From<GetNetworkError> for Error
impl From<GetNetworkError> for Error
source§fn from(err: GetNetworkError) -> Self
fn from(err: GetNetworkError) -> Self
source§impl From<GetNodeError> for Error
impl From<GetNodeError> for Error
source§fn from(err: GetNodeError) -> Self
fn from(err: GetNodeError) -> Self
source§impl From<GetProposalError> for Error
impl From<GetProposalError> for Error
source§fn from(err: GetProposalError) -> Self
fn from(err: GetProposalError) -> Self
source§impl From<ListAccessorsError> for Error
impl From<ListAccessorsError> for Error
source§fn from(err: ListAccessorsError) -> Self
fn from(err: ListAccessorsError) -> Self
source§impl From<ListInvitationsError> for Error
impl From<ListInvitationsError> for Error
source§fn from(err: ListInvitationsError) -> Self
fn from(err: ListInvitationsError) -> Self
source§impl From<ListMembersError> for Error
impl From<ListMembersError> for Error
source§fn from(err: ListMembersError) -> Self
fn from(err: ListMembersError) -> Self
source§impl From<ListNetworksError> for Error
impl From<ListNetworksError> for Error
source§fn from(err: ListNetworksError) -> Self
fn from(err: ListNetworksError) -> Self
source§impl From<ListNodesError> for Error
impl From<ListNodesError> for Error
source§fn from(err: ListNodesError) -> Self
fn from(err: ListNodesError) -> Self
source§impl From<ListProposalVotesError> for Error
impl From<ListProposalVotesError> for Error
source§fn from(err: ListProposalVotesError) -> Self
fn from(err: ListProposalVotesError) -> Self
source§impl From<ListProposalsError> for Error
impl From<ListProposalsError> for Error
source§fn from(err: ListProposalsError) -> Self
fn from(err: ListProposalsError) -> Self
source§impl From<ListTagsForResourceError> for Error
impl From<ListTagsForResourceError> for Error
source§fn from(err: ListTagsForResourceError) -> Self
fn from(err: ListTagsForResourceError) -> Self
source§impl From<RejectInvitationError> for Error
impl From<RejectInvitationError> for Error
source§fn from(err: RejectInvitationError) -> Self
fn from(err: RejectInvitationError) -> Self
source§impl<R> From<SdkError<CreateAccessorError, R>> for Error
impl<R> From<SdkError<CreateAccessorError, R>> for Error
source§fn from(err: SdkError<CreateAccessorError, R>) -> Self
fn from(err: SdkError<CreateAccessorError, R>) -> Self
source§impl<R> From<SdkError<CreateMemberError, R>> for Error
impl<R> From<SdkError<CreateMemberError, R>> for Error
source§fn from(err: SdkError<CreateMemberError, R>) -> Self
fn from(err: SdkError<CreateMemberError, R>) -> Self
source§impl<R> From<SdkError<CreateNetworkError, R>> for Error
impl<R> From<SdkError<CreateNetworkError, R>> for Error
source§fn from(err: SdkError<CreateNetworkError, R>) -> Self
fn from(err: SdkError<CreateNetworkError, R>) -> Self
source§impl<R> From<SdkError<CreateNodeError, R>> for Error
impl<R> From<SdkError<CreateNodeError, R>> for Error
source§fn from(err: SdkError<CreateNodeError, R>) -> Self
fn from(err: SdkError<CreateNodeError, R>) -> Self
source§impl<R> From<SdkError<CreateProposalError, R>> for Error
impl<R> From<SdkError<CreateProposalError, R>> for Error
source§fn from(err: SdkError<CreateProposalError, R>) -> Self
fn from(err: SdkError<CreateProposalError, R>) -> Self
source§impl<R> From<SdkError<DeleteAccessorError, R>> for Error
impl<R> From<SdkError<DeleteAccessorError, R>> for Error
source§fn from(err: SdkError<DeleteAccessorError, R>) -> Self
fn from(err: SdkError<DeleteAccessorError, R>) -> Self
source§impl<R> From<SdkError<DeleteMemberError, R>> for Error
impl<R> From<SdkError<DeleteMemberError, R>> for Error
source§fn from(err: SdkError<DeleteMemberError, R>) -> Self
fn from(err: SdkError<DeleteMemberError, R>) -> Self
source§impl<R> From<SdkError<DeleteNodeError, R>> for Error
impl<R> From<SdkError<DeleteNodeError, R>> for Error
source§fn from(err: SdkError<DeleteNodeError, R>) -> Self
fn from(err: SdkError<DeleteNodeError, R>) -> Self
source§impl<R> From<SdkError<GetAccessorError, R>> for Error
impl<R> From<SdkError<GetAccessorError, R>> for Error
source§fn from(err: SdkError<GetAccessorError, R>) -> Self
fn from(err: SdkError<GetAccessorError, R>) -> Self
source§impl<R> From<SdkError<GetMemberError, R>> for Error
impl<R> From<SdkError<GetMemberError, R>> for Error
source§fn from(err: SdkError<GetMemberError, R>) -> Self
fn from(err: SdkError<GetMemberError, R>) -> Self
source§impl<R> From<SdkError<GetNetworkError, R>> for Error
impl<R> From<SdkError<GetNetworkError, R>> for Error
source§fn from(err: SdkError<GetNetworkError, R>) -> Self
fn from(err: SdkError<GetNetworkError, R>) -> Self
source§impl<R> From<SdkError<GetNodeError, R>> for Error
impl<R> From<SdkError<GetNodeError, R>> for Error
source§fn from(err: SdkError<GetNodeError, R>) -> Self
fn from(err: SdkError<GetNodeError, R>) -> Self
source§impl<R> From<SdkError<GetProposalError, R>> for Error
impl<R> From<SdkError<GetProposalError, R>> for Error
source§fn from(err: SdkError<GetProposalError, R>) -> Self
fn from(err: SdkError<GetProposalError, R>) -> Self
source§impl<R> From<SdkError<ListAccessorsError, R>> for Error
impl<R> From<SdkError<ListAccessorsError, R>> for Error
source§fn from(err: SdkError<ListAccessorsError, R>) -> Self
fn from(err: SdkError<ListAccessorsError, R>) -> Self
source§impl<R> From<SdkError<ListInvitationsError, R>> for Error
impl<R> From<SdkError<ListInvitationsError, R>> for Error
source§fn from(err: SdkError<ListInvitationsError, R>) -> Self
fn from(err: SdkError<ListInvitationsError, R>) -> Self
source§impl<R> From<SdkError<ListMembersError, R>> for Error
impl<R> From<SdkError<ListMembersError, R>> for Error
source§fn from(err: SdkError<ListMembersError, R>) -> Self
fn from(err: SdkError<ListMembersError, R>) -> Self
source§impl<R> From<SdkError<ListNetworksError, R>> for Error
impl<R> From<SdkError<ListNetworksError, R>> for Error
source§fn from(err: SdkError<ListNetworksError, R>) -> Self
fn from(err: SdkError<ListNetworksError, R>) -> Self
source§impl<R> From<SdkError<ListNodesError, R>> for Error
impl<R> From<SdkError<ListNodesError, R>> for Error
source§fn from(err: SdkError<ListNodesError, R>) -> Self
fn from(err: SdkError<ListNodesError, R>) -> Self
source§impl<R> From<SdkError<ListProposalVotesError, R>> for Error
impl<R> From<SdkError<ListProposalVotesError, R>> for Error
source§fn from(err: SdkError<ListProposalVotesError, R>) -> Self
fn from(err: SdkError<ListProposalVotesError, R>) -> Self
source§impl<R> From<SdkError<ListProposalsError, R>> for Error
impl<R> From<SdkError<ListProposalsError, R>> for Error
source§fn from(err: SdkError<ListProposalsError, R>) -> Self
fn from(err: SdkError<ListProposalsError, R>) -> Self
source§impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
source§fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
source§impl<R> From<SdkError<RejectInvitationError, R>> for Error
impl<R> From<SdkError<RejectInvitationError, R>> for Error
source§fn from(err: SdkError<RejectInvitationError, R>) -> Self
fn from(err: SdkError<RejectInvitationError, R>) -> Self
source§impl<R> From<SdkError<TagResourceError, R>> for Error
impl<R> From<SdkError<TagResourceError, R>> for Error
source§fn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
source§impl<R> From<SdkError<UntagResourceError, R>> for Error
impl<R> From<SdkError<UntagResourceError, R>> for Error
source§fn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
source§impl<R> From<SdkError<UpdateMemberError, R>> for Error
impl<R> From<SdkError<UpdateMemberError, R>> for Error
source§fn from(err: SdkError<UpdateMemberError, R>) -> Self
fn from(err: SdkError<UpdateMemberError, R>) -> Self
source§impl<R> From<SdkError<UpdateNodeError, R>> for Error
impl<R> From<SdkError<UpdateNodeError, R>> for Error
source§fn from(err: SdkError<UpdateNodeError, R>) -> Self
fn from(err: SdkError<UpdateNodeError, R>) -> Self
source§impl<R> From<SdkError<VoteOnProposalError, R>> for Error
impl<R> From<SdkError<VoteOnProposalError, R>> for Error
source§fn from(err: SdkError<VoteOnProposalError, R>) -> Self
fn from(err: SdkError<VoteOnProposalError, R>) -> Self
source§impl From<TagResourceError> for Error
impl From<TagResourceError> for Error
source§fn from(err: TagResourceError) -> Self
fn from(err: TagResourceError) -> Self
source§impl From<UntagResourceError> for Error
impl From<UntagResourceError> for Error
source§fn from(err: UntagResourceError) -> Self
fn from(err: UntagResourceError) -> Self
source§impl From<UpdateMemberError> for Error
impl From<UpdateMemberError> for Error
source§fn from(err: UpdateMemberError) -> Self
fn from(err: UpdateMemberError) -> Self
source§impl From<UpdateNodeError> for Error
impl From<UpdateNodeError> for Error
source§fn from(err: UpdateNodeError) -> Self
fn from(err: UpdateNodeError) -> Self
source§impl From<VoteOnProposalError> for Error
impl From<VoteOnProposalError> for Error
source§fn from(err: VoteOnProposalError) -> Self
fn from(err: VoteOnProposalError) -> Self
source§impl ProvideErrorMetadata for Error
impl ProvideErrorMetadata for Error
source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more