Struct aws_sdk_lexruntime::error::PostContentError
source · [−]#[non_exhaustive]pub struct PostContentError {
pub kind: PostContentErrorKind,
/* private fields */
}
Expand description
Error type for the PostContent
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: PostContentErrorKind
Kind of error that occurred.
Implementations
Creates a new PostContentError
.
Creates the PostContentError::Unhandled
variant from any error type.
Creates the PostContentError::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 PostContentErrorKind::BadGatewayException
.
Returns true
if the error kind is PostContentErrorKind::BadRequestException
.
Returns true
if the error kind is PostContentErrorKind::ConflictException
.
Returns true
if the error kind is PostContentErrorKind::DependencyFailedException
.
Returns true
if the error kind is PostContentErrorKind::InternalFailureException
.
Returns true
if the error kind is PostContentErrorKind::LimitExceededException
.
Returns true
if the error kind is PostContentErrorKind::LoopDetectedException
.
Returns true
if the error kind is PostContentErrorKind::NotAcceptableException
.
Returns true
if the error kind is PostContentErrorKind::NotFoundException
.
Returns true
if the error kind is PostContentErrorKind::RequestTimeoutException
.
Returns true
if the error kind is PostContentErrorKind::UnsupportedMediaTypeException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PostContentError
impl Send for PostContentError
impl Sync for PostContentError
impl Unpin for PostContentError
impl !UnwindSafe for PostContentError
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