Struct aws_sdk_lambda::error::PublishVersionError [−][src]
#[non_exhaustive]pub struct PublishVersionError {
pub kind: PublishVersionErrorKind,
// some fields omitted
}
Expand description
Error type for the PublishVersion
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: PublishVersionErrorKind
Kind of error that occurred.
Implementations
Creates a new PublishVersionError
.
Creates the PublishVersionError::Unhandled
variant from any error type.
Creates the PublishVersionError::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 PublishVersionErrorKind::CodeStorageExceededException
.
Returns true
if the error kind is PublishVersionErrorKind::InvalidParameterValueException
.
Returns true
if the error kind is PublishVersionErrorKind::PreconditionFailedException
.
Returns true
if the error kind is PublishVersionErrorKind::ResourceConflictException
.
Returns true
if the error kind is PublishVersionErrorKind::ResourceNotFoundException
.
Returns true
if the error kind is PublishVersionErrorKind::ServiceException
.
Returns true
if the error kind is PublishVersionErrorKind::TooManyRequestsException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PublishVersionError
impl Send for PublishVersionError
impl Sync for PublishVersionError
impl Unpin for PublishVersionError
impl !UnwindSafe for PublishVersionError
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