Struct aws_sdk_codecommit::error::GetRepositoryError
source · [−]#[non_exhaustive]pub struct GetRepositoryError {
pub kind: GetRepositoryErrorKind,
/* private fields */
}
Expand description
Error type for the GetRepository
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: GetRepositoryErrorKind
Kind of error that occurred.
Implementations
Creates a new GetRepositoryError
.
Creates the GetRepositoryError::Unhandled
variant from any error type.
Creates the GetRepositoryError::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 GetRepositoryErrorKind::EncryptionIntegrityChecksFailedException
.
Returns true
if the error kind is GetRepositoryErrorKind::EncryptionKeyAccessDeniedException
.
Returns true
if the error kind is GetRepositoryErrorKind::EncryptionKeyDisabledException
.
Returns true
if the error kind is GetRepositoryErrorKind::EncryptionKeyNotFoundException
.
Returns true
if the error kind is GetRepositoryErrorKind::EncryptionKeyUnavailableException
.
Returns true
if the error kind is GetRepositoryErrorKind::InvalidRepositoryNameException
.
Returns true
if the error kind is GetRepositoryErrorKind::RepositoryDoesNotExistException
.
Returns true
if the error kind is GetRepositoryErrorKind::RepositoryNameRequiredException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GetRepositoryError
impl Send for GetRepositoryError
impl Sync for GetRepositoryError
impl Unpin for GetRepositoryError
impl !UnwindSafe for GetRepositoryError
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