#[non_exhaustive]pub enum GetGuideErrorKind {
InternalFailureError(InternalFailureError),
ThrottlingError(ThrottlingError),
ValidationError(ValidationError),
AccessDeniedError(AccessDeniedError),
UnauthorizedError(UnauthorizedError),
ResourceNotFoundError(ResourceNotFoundError),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the GetGuide
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InternalFailureError(InternalFailureError)
The server response when an unexpected error occurred while processing request.
ThrottlingError(ThrottlingError)
The server response when usage plan or account-level throttling limits exceeded.
ValidationError(ValidationError)
A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
AccessDeniedError(AccessDeniedError)
The server response for authorization failure.
The server response when the authorizer failed to authenticate the caller.
ResourceNotFoundError(ResourceNotFoundError)
The server response when the specified resource cannot be found after an API request passes authentication and authorization.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GetGuideErrorKind
impl !RefUnwindSafe for GetGuideErrorKind
impl Send for GetGuideErrorKind
impl Sync for GetGuideErrorKind
impl Unpin for GetGuideErrorKind
impl !UnwindSafe for GetGuideErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more