Struct aws_sdk_sfn::error::SendTaskFailureError [−][src]
#[non_exhaustive]pub struct SendTaskFailureError {
pub kind: SendTaskFailureErrorKind,
// some fields omitted
}
Expand description
Error type for the SendTaskFailure
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: SendTaskFailureErrorKind
Kind of error that occurred.
Implementations
Creates a new SendTaskFailureError
.
Creates the SendTaskFailureError::Unhandled
variant from any error type.
Creates the SendTaskFailureError::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 SendTaskFailureErrorKind::InvalidToken
.
Returns true
if the error kind is SendTaskFailureErrorKind::TaskDoesNotExist
.
Returns true
if the error kind is SendTaskFailureErrorKind::TaskTimedOut
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SendTaskFailureError
impl Send for SendTaskFailureError
impl Sync for SendTaskFailureError
impl Unpin for SendTaskFailureError
impl !UnwindSafe for SendTaskFailureError
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