Enum aws_sdk_comprehendmedical::Error
source · [−]#[non_exhaustive]
pub enum Error {
InternalServerException(InternalServerException),
InvalidEncodingException(InvalidEncodingException),
InvalidRequestException(InvalidRequestException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceUnavailableException(ServiceUnavailableException),
TextSizeLimitExceededException(TextSizeLimitExceededException),
TooManyRequestsException(TooManyRequestsException),
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
InternalServerException(InternalServerException)
An internal server error occurred. Retry your request.
InvalidEncodingException(InvalidEncodingException)
The input text was not in valid UTF-8 character encoding. Check your text then retry your request.
InvalidRequestException(InvalidRequestException)
The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
ResourceNotFoundException(ResourceNotFoundException)
The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
ServiceUnavailableException(ServiceUnavailableException)
The Comprehend Medical; service is temporarily unavailable. Please wait and then retry your request.
TextSizeLimitExceededException(TextSizeLimitExceededException)
The size of the text you submitted exceeds the size limit. Reduce the size of the text or use a smaller document and then retry your request.
TooManyRequestsException(TooManyRequestsException)
You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
ValidationException(ValidationException)
The filter that you specified for the operation is invalid. Check the filter values that you entered and try your request again.
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<DescribeEntitiesDetectionV2JobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeEntitiesDetectionV2JobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeEntitiesDetectionV2JobError, R>) -> Self
fn from(err: SdkError<DescribeEntitiesDetectionV2JobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeICD10CMInferenceJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeICD10CMInferenceJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeICD10CMInferenceJobError, R>) -> Self
fn from(err: SdkError<DescribeICD10CMInferenceJobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribePHIDetectionJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribePHIDetectionJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribePHIDetectionJobError, R>) -> Self
fn from(err: SdkError<DescribePHIDetectionJobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeRxNormInferenceJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeRxNormInferenceJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeRxNormInferenceJobError, R>) -> Self
fn from(err: SdkError<DescribeRxNormInferenceJobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeSNOMEDCTInferenceJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeSNOMEDCTInferenceJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeSNOMEDCTInferenceJobError, R>) -> Self
fn from(err: SdkError<DescribeSNOMEDCTInferenceJobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DetectEntitiesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DetectEntitiesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DetectEntitiesError, R>) -> Self
fn from(err: SdkError<DetectEntitiesError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DetectEntitiesV2Error, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DetectEntitiesV2Error, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DetectEntitiesV2Error, R>) -> Self
fn from(err: SdkError<DetectEntitiesV2Error, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DetectPHIError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DetectPHIError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DetectPHIError, R>) -> Self
fn from(err: SdkError<DetectPHIError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<InferICD10CMError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<InferICD10CMError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<InferICD10CMError, R>) -> Self
fn from(err: SdkError<InferICD10CMError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<InferRxNormError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<InferRxNormError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<InferRxNormError, R>) -> Self
fn from(err: SdkError<InferRxNormError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<InferSNOMEDCTError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<InferSNOMEDCTError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<InferSNOMEDCTError, R>) -> Self
fn from(err: SdkError<InferSNOMEDCTError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListEntitiesDetectionV2JobsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListEntitiesDetectionV2JobsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListEntitiesDetectionV2JobsError, R>) -> Self
fn from(err: SdkError<ListEntitiesDetectionV2JobsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListICD10CMInferenceJobsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListICD10CMInferenceJobsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListICD10CMInferenceJobsError, R>) -> Self
fn from(err: SdkError<ListICD10CMInferenceJobsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListPHIDetectionJobsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListPHIDetectionJobsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListPHIDetectionJobsError, R>) -> Self
fn from(err: SdkError<ListPHIDetectionJobsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListRxNormInferenceJobsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListRxNormInferenceJobsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListRxNormInferenceJobsError, R>) -> Self
fn from(err: SdkError<ListRxNormInferenceJobsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListSNOMEDCTInferenceJobsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListSNOMEDCTInferenceJobsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListSNOMEDCTInferenceJobsError, R>) -> Self
fn from(err: SdkError<ListSNOMEDCTInferenceJobsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<StartEntitiesDetectionV2JobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartEntitiesDetectionV2JobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartEntitiesDetectionV2JobError, R>) -> Self
fn from(err: SdkError<StartEntitiesDetectionV2JobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<StartICD10CMInferenceJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartICD10CMInferenceJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartICD10CMInferenceJobError, R>) -> Self
fn from(err: SdkError<StartICD10CMInferenceJobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<StartPHIDetectionJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartPHIDetectionJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartPHIDetectionJobError, R>) -> Self
fn from(err: SdkError<StartPHIDetectionJobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<StartRxNormInferenceJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartRxNormInferenceJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartRxNormInferenceJobError, R>) -> Self
fn from(err: SdkError<StartRxNormInferenceJobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<StartSNOMEDCTInferenceJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartSNOMEDCTInferenceJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartSNOMEDCTInferenceJobError, R>) -> Self
fn from(err: SdkError<StartSNOMEDCTInferenceJobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<StopEntitiesDetectionV2JobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StopEntitiesDetectionV2JobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StopEntitiesDetectionV2JobError, R>) -> Self
fn from(err: SdkError<StopEntitiesDetectionV2JobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<StopICD10CMInferenceJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StopICD10CMInferenceJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StopICD10CMInferenceJobError, R>) -> Self
fn from(err: SdkError<StopICD10CMInferenceJobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<StopPHIDetectionJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StopPHIDetectionJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StopPHIDetectionJobError, R>) -> Self
fn from(err: SdkError<StopPHIDetectionJobError, R>) -> Self
Performs the conversion.
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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