Struct aws_sdk_textract::error::AnalyzeExpenseError
source · [−]#[non_exhaustive]pub struct AnalyzeExpenseError {
pub kind: AnalyzeExpenseErrorKind,
/* private fields */
}
Expand description
Error type for the AnalyzeExpense
operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.kind: AnalyzeExpenseErrorKind
Kind of error that occurred.
Implementations
Creates a new AnalyzeExpenseError
.
Creates the AnalyzeExpenseError::Unhandled
variant from any error type.
Creates the AnalyzeExpenseError::Unhandled
variant from a aws_smithy_types::Error
.
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Returns the request ID if it’s available.
Returns true
if the error kind is AnalyzeExpenseErrorKind::AccessDeniedException
.
Returns true
if the error kind is AnalyzeExpenseErrorKind::BadDocumentException
.
Returns true
if the error kind is AnalyzeExpenseErrorKind::DocumentTooLargeException
.
Returns true
if the error kind is AnalyzeExpenseErrorKind::InternalServerError
.
Returns true
if the error kind is AnalyzeExpenseErrorKind::InvalidParameterException
.
Returns true
if the error kind is AnalyzeExpenseErrorKind::InvalidS3ObjectException
.
Returns true
if the error kind is AnalyzeExpenseErrorKind::ProvisionedThroughputExceededException
.
Returns true
if the error kind is AnalyzeExpenseErrorKind::ThrottlingException
.
Returns true
if the error kind is AnalyzeExpenseErrorKind::UnsupportedDocumentException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AnalyzeExpenseError
impl Send for AnalyzeExpenseError
impl Sync for AnalyzeExpenseError
impl Unpin for AnalyzeExpenseError
impl !UnwindSafe for AnalyzeExpenseError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more