Struct aws_sdk_connect::error::UpdateContactScheduleError
source · [−]#[non_exhaustive]pub struct UpdateContactScheduleError {
pub kind: UpdateContactScheduleErrorKind,
/* private fields */
}
Expand description
Error type for the UpdateContactSchedule
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: UpdateContactScheduleErrorKind
Kind of error that occurred.
Implementations
Creates a new UpdateContactScheduleError
.
Creates the UpdateContactScheduleError::Unhandled
variant from any error type.
Creates the UpdateContactScheduleError::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 UpdateContactScheduleErrorKind::InternalServiceException
.
Returns true
if the error kind is UpdateContactScheduleErrorKind::InvalidParameterException
.
Returns true
if the error kind is UpdateContactScheduleErrorKind::InvalidRequestException
.
Returns true
if the error kind is UpdateContactScheduleErrorKind::LimitExceededException
.
Returns true
if the error kind is UpdateContactScheduleErrorKind::ResourceNotFoundException
.
Returns true
if the error kind is UpdateContactScheduleErrorKind::ThrottlingException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for UpdateContactScheduleError
impl Send for UpdateContactScheduleError
impl Sync for UpdateContactScheduleError
impl Unpin for UpdateContactScheduleError
impl !UnwindSafe for UpdateContactScheduleError
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