Enum aws_sdk_bedrockagent::Error
source · #[non_exhaustive]pub enum Error {
AccessDeniedException(AccessDeniedException),
ConflictException(ConflictException),
InternalServerException(InternalServerException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceQuotaExceededException(ServiceQuotaExceededException),
ThrottlingException(ThrottlingException),
ValidationException(ValidationException),
Unhandled(Unhandled),
}Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AccessDeniedException(AccessDeniedException)
This exception is thrown when a request is denied per access permissions
ConflictException(ConflictException)
This exception is thrown when there is a conflict performing an operation
InternalServerException(InternalServerException)
This exception is thrown if there was an unexpected error during processing of request
ResourceNotFoundException(ResourceNotFoundException)
This exception is thrown when a resource referenced by the operation does not exist
ServiceQuotaExceededException(ServiceQuotaExceededException)
This exception is thrown when a request is made beyond the service quota
ThrottlingException(ThrottlingException)
This exception is thrown when the number of requests exceeds the limit
ValidationException(ValidationException)
This exception is thrown when the request’s input validation fails
Unhandled(Unhandled)
👎Deprecated: Matching
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)>
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 From<AssociateAgentKnowledgeBaseError> for Error
impl From<AssociateAgentKnowledgeBaseError> for Error
source§fn from(err: AssociateAgentKnowledgeBaseError) -> Self
fn from(err: AssociateAgentKnowledgeBaseError) -> Self
Converts to this type from the input type.
source§impl From<BuildError> for Error
impl From<BuildError> for Error
source§fn from(value: BuildError) -> Self
fn from(value: BuildError) -> Self
Converts to this type from the input type.
source§impl From<CreateAgentActionGroupError> for Error
impl From<CreateAgentActionGroupError> for Error
source§fn from(err: CreateAgentActionGroupError) -> Self
fn from(err: CreateAgentActionGroupError) -> Self
Converts to this type from the input type.
source§impl From<CreateAgentAliasError> for Error
impl From<CreateAgentAliasError> for Error
source§fn from(err: CreateAgentAliasError) -> Self
fn from(err: CreateAgentAliasError) -> Self
Converts to this type from the input type.
source§impl From<CreateAgentError> for Error
impl From<CreateAgentError> for Error
source§fn from(err: CreateAgentError) -> Self
fn from(err: CreateAgentError) -> Self
Converts to this type from the input type.
source§impl From<CreateDataSourceError> for Error
impl From<CreateDataSourceError> for Error
source§fn from(err: CreateDataSourceError) -> Self
fn from(err: CreateDataSourceError) -> Self
Converts to this type from the input type.
source§impl From<CreateKnowledgeBaseError> for Error
impl From<CreateKnowledgeBaseError> for Error
source§fn from(err: CreateKnowledgeBaseError) -> Self
fn from(err: CreateKnowledgeBaseError) -> Self
Converts to this type from the input type.
source§impl From<DeleteAgentActionGroupError> for Error
impl From<DeleteAgentActionGroupError> for Error
source§fn from(err: DeleteAgentActionGroupError) -> Self
fn from(err: DeleteAgentActionGroupError) -> Self
Converts to this type from the input type.
source§impl From<DeleteAgentAliasError> for Error
impl From<DeleteAgentAliasError> for Error
source§fn from(err: DeleteAgentAliasError) -> Self
fn from(err: DeleteAgentAliasError) -> Self
Converts to this type from the input type.
source§impl From<DeleteAgentError> for Error
impl From<DeleteAgentError> for Error
source§fn from(err: DeleteAgentError) -> Self
fn from(err: DeleteAgentError) -> Self
Converts to this type from the input type.
source§impl From<DeleteAgentVersionError> for Error
impl From<DeleteAgentVersionError> for Error
source§fn from(err: DeleteAgentVersionError) -> Self
fn from(err: DeleteAgentVersionError) -> Self
Converts to this type from the input type.
source§impl From<DeleteDataSourceError> for Error
impl From<DeleteDataSourceError> for Error
source§fn from(err: DeleteDataSourceError) -> Self
fn from(err: DeleteDataSourceError) -> Self
Converts to this type from the input type.
source§impl From<DeleteKnowledgeBaseError> for Error
impl From<DeleteKnowledgeBaseError> for Error
source§fn from(err: DeleteKnowledgeBaseError) -> Self
fn from(err: DeleteKnowledgeBaseError) -> Self
Converts to this type from the input type.
source§impl From<DisassociateAgentKnowledgeBaseError> for Error
impl From<DisassociateAgentKnowledgeBaseError> for Error
source§fn from(err: DisassociateAgentKnowledgeBaseError) -> Self
fn from(err: DisassociateAgentKnowledgeBaseError) -> Self
Converts to this type from the input type.
source§impl From<GetAgentActionGroupError> for Error
impl From<GetAgentActionGroupError> for Error
source§fn from(err: GetAgentActionGroupError) -> Self
fn from(err: GetAgentActionGroupError) -> Self
Converts to this type from the input type.
source§impl From<GetAgentAliasError> for Error
impl From<GetAgentAliasError> for Error
source§fn from(err: GetAgentAliasError) -> Self
fn from(err: GetAgentAliasError) -> Self
Converts to this type from the input type.
source§impl From<GetAgentError> for Error
impl From<GetAgentError> for Error
source§fn from(err: GetAgentError) -> Self
fn from(err: GetAgentError) -> Self
Converts to this type from the input type.
source§impl From<GetAgentKnowledgeBaseError> for Error
impl From<GetAgentKnowledgeBaseError> for Error
source§fn from(err: GetAgentKnowledgeBaseError) -> Self
fn from(err: GetAgentKnowledgeBaseError) -> Self
Converts to this type from the input type.
source§impl From<GetAgentVersionError> for Error
impl From<GetAgentVersionError> for Error
source§fn from(err: GetAgentVersionError) -> Self
fn from(err: GetAgentVersionError) -> Self
Converts to this type from the input type.
source§impl From<GetDataSourceError> for Error
impl From<GetDataSourceError> for Error
source§fn from(err: GetDataSourceError) -> Self
fn from(err: GetDataSourceError) -> Self
Converts to this type from the input type.
source§impl From<GetIngestionJobError> for Error
impl From<GetIngestionJobError> for Error
source§fn from(err: GetIngestionJobError) -> Self
fn from(err: GetIngestionJobError) -> Self
Converts to this type from the input type.
source§impl From<GetKnowledgeBaseError> for Error
impl From<GetKnowledgeBaseError> for Error
source§fn from(err: GetKnowledgeBaseError) -> Self
fn from(err: GetKnowledgeBaseError) -> Self
Converts to this type from the input type.
source§impl From<ListAgentActionGroupsError> for Error
impl From<ListAgentActionGroupsError> for Error
source§fn from(err: ListAgentActionGroupsError) -> Self
fn from(err: ListAgentActionGroupsError) -> Self
Converts to this type from the input type.
source§impl From<ListAgentAliasesError> for Error
impl From<ListAgentAliasesError> for Error
source§fn from(err: ListAgentAliasesError) -> Self
fn from(err: ListAgentAliasesError) -> Self
Converts to this type from the input type.
source§impl From<ListAgentKnowledgeBasesError> for Error
impl From<ListAgentKnowledgeBasesError> for Error
source§fn from(err: ListAgentKnowledgeBasesError) -> Self
fn from(err: ListAgentKnowledgeBasesError) -> Self
Converts to this type from the input type.
source§impl From<ListAgentVersionsError> for Error
impl From<ListAgentVersionsError> for Error
source§fn from(err: ListAgentVersionsError) -> Self
fn from(err: ListAgentVersionsError) -> Self
Converts to this type from the input type.
source§impl From<ListAgentsError> for Error
impl From<ListAgentsError> for Error
source§fn from(err: ListAgentsError) -> Self
fn from(err: ListAgentsError) -> Self
Converts to this type from the input type.
source§impl From<ListDataSourcesError> for Error
impl From<ListDataSourcesError> for Error
source§fn from(err: ListDataSourcesError) -> Self
fn from(err: ListDataSourcesError) -> Self
Converts to this type from the input type.
source§impl From<ListIngestionJobsError> for Error
impl From<ListIngestionJobsError> for Error
source§fn from(err: ListIngestionJobsError) -> Self
fn from(err: ListIngestionJobsError) -> Self
Converts to this type from the input type.
source§impl From<ListKnowledgeBasesError> for Error
impl From<ListKnowledgeBasesError> for Error
source§fn from(err: ListKnowledgeBasesError) -> Self
fn from(err: ListKnowledgeBasesError) -> Self
Converts to this type from the input type.
source§impl From<ListTagsForResourceError> for Error
impl From<ListTagsForResourceError> for Error
source§fn from(err: ListTagsForResourceError) -> Self
fn from(err: ListTagsForResourceError) -> Self
Converts to this type from the input type.
source§impl From<PrepareAgentError> for Error
impl From<PrepareAgentError> for Error
source§fn from(err: PrepareAgentError) -> Self
fn from(err: PrepareAgentError) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<AssociateAgentKnowledgeBaseError, R>> for Error
impl<R> From<SdkError<AssociateAgentKnowledgeBaseError, R>> for Error
source§fn from(err: SdkError<AssociateAgentKnowledgeBaseError, R>) -> Self
fn from(err: SdkError<AssociateAgentKnowledgeBaseError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<CreateAgentActionGroupError, R>> for Error
impl<R> From<SdkError<CreateAgentActionGroupError, R>> for Error
source§fn from(err: SdkError<CreateAgentActionGroupError, R>) -> Self
fn from(err: SdkError<CreateAgentActionGroupError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<CreateAgentAliasError, R>> for Error
impl<R> From<SdkError<CreateAgentAliasError, R>> for Error
source§fn from(err: SdkError<CreateAgentAliasError, R>) -> Self
fn from(err: SdkError<CreateAgentAliasError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<CreateAgentError, R>> for Error
impl<R> From<SdkError<CreateAgentError, R>> for Error
source§fn from(err: SdkError<CreateAgentError, R>) -> Self
fn from(err: SdkError<CreateAgentError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<CreateDataSourceError, R>> for Error
impl<R> From<SdkError<CreateDataSourceError, R>> for Error
source§fn from(err: SdkError<CreateDataSourceError, R>) -> Self
fn from(err: SdkError<CreateDataSourceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<CreateKnowledgeBaseError, R>> for Error
impl<R> From<SdkError<CreateKnowledgeBaseError, R>> for Error
source§fn from(err: SdkError<CreateKnowledgeBaseError, R>) -> Self
fn from(err: SdkError<CreateKnowledgeBaseError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DeleteAgentActionGroupError, R>> for Error
impl<R> From<SdkError<DeleteAgentActionGroupError, R>> for Error
source§fn from(err: SdkError<DeleteAgentActionGroupError, R>) -> Self
fn from(err: SdkError<DeleteAgentActionGroupError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DeleteAgentAliasError, R>> for Error
impl<R> From<SdkError<DeleteAgentAliasError, R>> for Error
source§fn from(err: SdkError<DeleteAgentAliasError, R>) -> Self
fn from(err: SdkError<DeleteAgentAliasError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DeleteAgentError, R>> for Error
impl<R> From<SdkError<DeleteAgentError, R>> for Error
source§fn from(err: SdkError<DeleteAgentError, R>) -> Self
fn from(err: SdkError<DeleteAgentError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DeleteAgentVersionError, R>> for Error
impl<R> From<SdkError<DeleteAgentVersionError, R>> for Error
source§fn from(err: SdkError<DeleteAgentVersionError, R>) -> Self
fn from(err: SdkError<DeleteAgentVersionError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DeleteDataSourceError, R>> for Error
impl<R> From<SdkError<DeleteDataSourceError, R>> for Error
source§fn from(err: SdkError<DeleteDataSourceError, R>) -> Self
fn from(err: SdkError<DeleteDataSourceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DeleteKnowledgeBaseError, R>> for Error
impl<R> From<SdkError<DeleteKnowledgeBaseError, R>> for Error
source§fn from(err: SdkError<DeleteKnowledgeBaseError, R>) -> Self
fn from(err: SdkError<DeleteKnowledgeBaseError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DisassociateAgentKnowledgeBaseError, R>> for Error
impl<R> From<SdkError<DisassociateAgentKnowledgeBaseError, R>> for Error
source§fn from(err: SdkError<DisassociateAgentKnowledgeBaseError, R>) -> Self
fn from(err: SdkError<DisassociateAgentKnowledgeBaseError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetAgentActionGroupError, R>> for Error
impl<R> From<SdkError<GetAgentActionGroupError, R>> for Error
source§fn from(err: SdkError<GetAgentActionGroupError, R>) -> Self
fn from(err: SdkError<GetAgentActionGroupError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetAgentAliasError, R>> for Error
impl<R> From<SdkError<GetAgentAliasError, R>> for Error
source§fn from(err: SdkError<GetAgentAliasError, R>) -> Self
fn from(err: SdkError<GetAgentAliasError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetAgentError, R>> for Error
impl<R> From<SdkError<GetAgentError, R>> for Error
source§fn from(err: SdkError<GetAgentError, R>) -> Self
fn from(err: SdkError<GetAgentError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetAgentKnowledgeBaseError, R>> for Error
impl<R> From<SdkError<GetAgentKnowledgeBaseError, R>> for Error
source§fn from(err: SdkError<GetAgentKnowledgeBaseError, R>) -> Self
fn from(err: SdkError<GetAgentKnowledgeBaseError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetAgentVersionError, R>> for Error
impl<R> From<SdkError<GetAgentVersionError, R>> for Error
source§fn from(err: SdkError<GetAgentVersionError, R>) -> Self
fn from(err: SdkError<GetAgentVersionError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetDataSourceError, R>> for Error
impl<R> From<SdkError<GetDataSourceError, R>> for Error
source§fn from(err: SdkError<GetDataSourceError, R>) -> Self
fn from(err: SdkError<GetDataSourceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetIngestionJobError, R>> for Error
impl<R> From<SdkError<GetIngestionJobError, R>> for Error
source§fn from(err: SdkError<GetIngestionJobError, R>) -> Self
fn from(err: SdkError<GetIngestionJobError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetKnowledgeBaseError, R>> for Error
impl<R> From<SdkError<GetKnowledgeBaseError, R>> for Error
source§fn from(err: SdkError<GetKnowledgeBaseError, R>) -> Self
fn from(err: SdkError<GetKnowledgeBaseError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListAgentActionGroupsError, R>> for Error
impl<R> From<SdkError<ListAgentActionGroupsError, R>> for Error
source§fn from(err: SdkError<ListAgentActionGroupsError, R>) -> Self
fn from(err: SdkError<ListAgentActionGroupsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListAgentAliasesError, R>> for Error
impl<R> From<SdkError<ListAgentAliasesError, R>> for Error
source§fn from(err: SdkError<ListAgentAliasesError, R>) -> Self
fn from(err: SdkError<ListAgentAliasesError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListAgentKnowledgeBasesError, R>> for Error
impl<R> From<SdkError<ListAgentKnowledgeBasesError, R>> for Error
source§fn from(err: SdkError<ListAgentKnowledgeBasesError, R>) -> Self
fn from(err: SdkError<ListAgentKnowledgeBasesError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListAgentVersionsError, R>> for Error
impl<R> From<SdkError<ListAgentVersionsError, R>> for Error
source§fn from(err: SdkError<ListAgentVersionsError, R>) -> Self
fn from(err: SdkError<ListAgentVersionsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListAgentsError, R>> for Error
impl<R> From<SdkError<ListAgentsError, R>> for Error
source§fn from(err: SdkError<ListAgentsError, R>) -> Self
fn from(err: SdkError<ListAgentsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListDataSourcesError, R>> for Error
impl<R> From<SdkError<ListDataSourcesError, R>> for Error
source§fn from(err: SdkError<ListDataSourcesError, R>) -> Self
fn from(err: SdkError<ListDataSourcesError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListIngestionJobsError, R>> for Error
impl<R> From<SdkError<ListIngestionJobsError, R>> for Error
source§fn from(err: SdkError<ListIngestionJobsError, R>) -> Self
fn from(err: SdkError<ListIngestionJobsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListKnowledgeBasesError, R>> for Error
impl<R> From<SdkError<ListKnowledgeBasesError, R>> for Error
source§fn from(err: SdkError<ListKnowledgeBasesError, R>) -> Self
fn from(err: SdkError<ListKnowledgeBasesError, R>) -> Self
Converts to this type from the input type.
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
Converts to this type from the input type.
source§impl<R> From<SdkError<PrepareAgentError, R>> for Error
impl<R> From<SdkError<PrepareAgentError, R>> for Error
source§fn from(err: SdkError<PrepareAgentError, R>) -> Self
fn from(err: SdkError<PrepareAgentError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<StartIngestionJobError, R>> for Error
impl<R> From<SdkError<StartIngestionJobError, R>> for Error
source§fn from(err: SdkError<StartIngestionJobError, R>) -> Self
fn from(err: SdkError<StartIngestionJobError, R>) -> Self
Converts to this type from the input type.
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
Converts to this type from the input type.
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
Converts to this type from the input type.
source§impl<R> From<SdkError<UpdateAgentActionGroupError, R>> for Error
impl<R> From<SdkError<UpdateAgentActionGroupError, R>> for Error
source§fn from(err: SdkError<UpdateAgentActionGroupError, R>) -> Self
fn from(err: SdkError<UpdateAgentActionGroupError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UpdateAgentAliasError, R>> for Error
impl<R> From<SdkError<UpdateAgentAliasError, R>> for Error
source§fn from(err: SdkError<UpdateAgentAliasError, R>) -> Self
fn from(err: SdkError<UpdateAgentAliasError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UpdateAgentError, R>> for Error
impl<R> From<SdkError<UpdateAgentError, R>> for Error
source§fn from(err: SdkError<UpdateAgentError, R>) -> Self
fn from(err: SdkError<UpdateAgentError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UpdateAgentKnowledgeBaseError, R>> for Error
impl<R> From<SdkError<UpdateAgentKnowledgeBaseError, R>> for Error
source§fn from(err: SdkError<UpdateAgentKnowledgeBaseError, R>) -> Self
fn from(err: SdkError<UpdateAgentKnowledgeBaseError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UpdateDataSourceError, R>> for Error
impl<R> From<SdkError<UpdateDataSourceError, R>> for Error
source§fn from(err: SdkError<UpdateDataSourceError, R>) -> Self
fn from(err: SdkError<UpdateDataSourceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UpdateKnowledgeBaseError, R>> for Error
impl<R> From<SdkError<UpdateKnowledgeBaseError, R>> for Error
source§fn from(err: SdkError<UpdateKnowledgeBaseError, R>) -> Self
fn from(err: SdkError<UpdateKnowledgeBaseError, R>) -> Self
Converts to this type from the input type.
source§impl From<StartIngestionJobError> for Error
impl From<StartIngestionJobError> for Error
source§fn from(err: StartIngestionJobError) -> Self
fn from(err: StartIngestionJobError) -> Self
Converts to this type from the input type.
source§impl From<TagResourceError> for Error
impl From<TagResourceError> for Error
source§fn from(err: TagResourceError) -> Self
fn from(err: TagResourceError) -> Self
Converts to this type from the input type.
source§impl From<UntagResourceError> for Error
impl From<UntagResourceError> for Error
source§fn from(err: UntagResourceError) -> Self
fn from(err: UntagResourceError) -> Self
Converts to this type from the input type.
source§impl From<UpdateAgentActionGroupError> for Error
impl From<UpdateAgentActionGroupError> for Error
source§fn from(err: UpdateAgentActionGroupError) -> Self
fn from(err: UpdateAgentActionGroupError) -> Self
Converts to this type from the input type.
source§impl From<UpdateAgentAliasError> for Error
impl From<UpdateAgentAliasError> for Error
source§fn from(err: UpdateAgentAliasError) -> Self
fn from(err: UpdateAgentAliasError) -> Self
Converts to this type from the input type.
source§impl From<UpdateAgentError> for Error
impl From<UpdateAgentError> for Error
source§fn from(err: UpdateAgentError) -> Self
fn from(err: UpdateAgentError) -> Self
Converts to this type from the input type.
source§impl From<UpdateAgentKnowledgeBaseError> for Error
impl From<UpdateAgentKnowledgeBaseError> for Error
source§fn from(err: UpdateAgentKnowledgeBaseError) -> Self
fn from(err: UpdateAgentKnowledgeBaseError) -> Self
Converts to this type from the input type.
source§impl From<UpdateDataSourceError> for Error
impl From<UpdateDataSourceError> for Error
source§fn from(err: UpdateDataSourceError) -> Self
fn from(err: UpdateDataSourceError) -> Self
Converts to this type from the input type.
source§impl From<UpdateKnowledgeBaseError> for Error
impl From<UpdateKnowledgeBaseError> for Error
source§fn from(err: UpdateKnowledgeBaseError) -> Self
fn from(err: UpdateKnowledgeBaseError) -> Self
Converts to this type from the input type.
source§impl ProvideErrorMetadata for Error
impl ProvideErrorMetadata for Error
source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
Returns error metadata, which includes the error code, message,
request ID, and potentially additional information.
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§
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
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>
Creates a shared type from an unshared type.