Struct aws_sdk_licensemanager::error::GetGrantError
source · [−]#[non_exhaustive]pub struct GetGrantError {
pub kind: GetGrantErrorKind,
/* private fields */
}Expand description
Error type for the GetGrant 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: GetGrantErrorKindKind of error that occurred.
Implementations
Creates a new GetGrantError.
Creates the GetGrantError::Unhandled variant from any error type.
Creates the GetGrantError::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 GetGrantErrorKind::AccessDeniedException.
Returns true if the error kind is GetGrantErrorKind::AuthorizationException.
Returns true if the error kind is GetGrantErrorKind::InvalidParameterValueException.
Returns true if the error kind is GetGrantErrorKind::RateLimitExceededException.
Returns true if the error kind is GetGrantErrorKind::ResourceLimitExceededException.
Returns true if the error kind is GetGrantErrorKind::ServerInternalException.
Returns true if the error kind is GetGrantErrorKind::ValidationException.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GetGrantError
impl Send for GetGrantError
impl Sync for GetGrantError
impl Unpin for GetGrantError
impl !UnwindSafe for GetGrantError
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