Enum aws_sdk_lambda::error::InvokeAsyncErrorKind [−][src]
#[non_exhaustive]
pub enum InvokeAsyncErrorKind {
InvalidRequestContentException(InvalidRequestContentException),
InvalidRuntimeException(InvalidRuntimeException),
ResourceConflictException(ResourceConflictException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceException(ServiceException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the InvokeAsync
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidRequestContentException(InvalidRequestContentException)
Tuple Fields
The request body could not be parsed as JSON.
InvalidRuntimeException(InvalidRuntimeException)
Tuple Fields
The runtime or runtime version specified is not supported.
ResourceConflictException(ResourceConflictException)
Tuple Fields
The resource already exists, or another operation is in progress.
ResourceNotFoundException(ResourceNotFoundException)
Tuple Fields
The resource specified in the request does not exist.
ServiceException(ServiceException)
Tuple Fields
The Lambda service encountered an internal error.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for InvokeAsyncErrorKind
impl Send for InvokeAsyncErrorKind
impl Sync for InvokeAsyncErrorKind
impl Unpin for InvokeAsyncErrorKind
impl !UnwindSafe for InvokeAsyncErrorKind
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