Enum aws_sdk_honeycode::Error
source · #[non_exhaustive]pub enum Error {
AccessDeniedException(AccessDeniedException),
AutomationExecutionException(AutomationExecutionException),
AutomationExecutionTimeoutException(AutomationExecutionTimeoutException),
InternalServerException(InternalServerException),
RequestTimeoutException(RequestTimeoutException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceQuotaExceededException(ServiceQuotaExceededException),
ServiceUnavailableException(ServiceUnavailableException),
ThrottlingException(ThrottlingException),
ValidationException(ValidationException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
You do not have sufficient access to perform this action. Check that the workbook is owned by you and your IAM policy allows access to the resource in the request.
AutomationExecutionException(AutomationExecutionException)
The automation execution did not end successfully.
AutomationExecutionTimeoutException(AutomationExecutionTimeoutException)
The automation execution timed out.
InternalServerException(InternalServerException)
There were unexpected errors from the server.
RequestTimeoutException(RequestTimeoutException)
The request timed out.
ResourceNotFoundException(ResourceNotFoundException)
A Workbook, Table, App, Screen or Screen Automation was not found with the given ID.
ServiceQuotaExceededException(ServiceQuotaExceededException)
The request caused service quota to be breached.
Remote service is unreachable.
ThrottlingException(ThrottlingException)
Tps(transactions per second) rate reached.
ValidationException(ValidationException)
Request is invalid. The message in the response contains details on why the request is invalid.
Unhandled(Unhandled)
Unhandled
directly is not forwards compatible. Instead, match using a variable wildcard pattern and check .code()
:
err if err.code() == Some("SpecificExceptionCode") => { /* handle the error */ }
See ProvideErrorMetadata
for what information is available for the error.An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<BatchCreateTableRowsError> for Error
impl From<BatchCreateTableRowsError> for Error
source§fn from(err: BatchCreateTableRowsError) -> Self
fn from(err: BatchCreateTableRowsError) -> Self
source§impl From<BatchDeleteTableRowsError> for Error
impl From<BatchDeleteTableRowsError> for Error
source§fn from(err: BatchDeleteTableRowsError) -> Self
fn from(err: BatchDeleteTableRowsError) -> Self
source§impl From<BatchUpdateTableRowsError> for Error
impl From<BatchUpdateTableRowsError> for Error
source§fn from(err: BatchUpdateTableRowsError) -> Self
fn from(err: BatchUpdateTableRowsError) -> Self
source§impl From<BatchUpsertTableRowsError> for Error
impl From<BatchUpsertTableRowsError> for Error
source§fn from(err: BatchUpsertTableRowsError) -> Self
fn from(err: BatchUpsertTableRowsError) -> Self
source§impl From<BuildError> for Error
impl From<BuildError> for Error
source§fn from(value: BuildError) -> Self
fn from(value: BuildError) -> Self
source§impl From<DescribeTableDataImportJobError> for Error
impl From<DescribeTableDataImportJobError> for Error
source§fn from(err: DescribeTableDataImportJobError) -> Self
fn from(err: DescribeTableDataImportJobError) -> Self
source§impl From<GetScreenDataError> for Error
impl From<GetScreenDataError> for Error
source§fn from(err: GetScreenDataError) -> Self
fn from(err: GetScreenDataError) -> Self
source§impl From<InvokeScreenAutomationError> for Error
impl From<InvokeScreenAutomationError> for Error
source§fn from(err: InvokeScreenAutomationError) -> Self
fn from(err: InvokeScreenAutomationError) -> Self
source§impl From<ListTableColumnsError> for Error
impl From<ListTableColumnsError> for Error
source§fn from(err: ListTableColumnsError) -> Self
fn from(err: ListTableColumnsError) -> Self
source§impl From<ListTableRowsError> for Error
impl From<ListTableRowsError> for Error
source§fn from(err: ListTableRowsError) -> Self
fn from(err: ListTableRowsError) -> Self
source§impl From<ListTablesError> for Error
impl From<ListTablesError> for Error
source§fn from(err: ListTablesError) -> Self
fn from(err: ListTablesError) -> Self
source§impl From<ListTagsForResourceError> for Error
impl From<ListTagsForResourceError> for Error
source§fn from(err: ListTagsForResourceError) -> Self
fn from(err: ListTagsForResourceError) -> Self
source§impl From<QueryTableRowsError> for Error
impl From<QueryTableRowsError> for Error
source§fn from(err: QueryTableRowsError) -> Self
fn from(err: QueryTableRowsError) -> Self
source§impl<R> From<SdkError<BatchCreateTableRowsError, R>> for Error
impl<R> From<SdkError<BatchCreateTableRowsError, R>> for Error
source§fn from(err: SdkError<BatchCreateTableRowsError, R>) -> Self
fn from(err: SdkError<BatchCreateTableRowsError, R>) -> Self
source§impl<R> From<SdkError<BatchDeleteTableRowsError, R>> for Error
impl<R> From<SdkError<BatchDeleteTableRowsError, R>> for Error
source§fn from(err: SdkError<BatchDeleteTableRowsError, R>) -> Self
fn from(err: SdkError<BatchDeleteTableRowsError, R>) -> Self
source§impl<R> From<SdkError<BatchUpdateTableRowsError, R>> for Error
impl<R> From<SdkError<BatchUpdateTableRowsError, R>> for Error
source§fn from(err: SdkError<BatchUpdateTableRowsError, R>) -> Self
fn from(err: SdkError<BatchUpdateTableRowsError, R>) -> Self
source§impl<R> From<SdkError<BatchUpsertTableRowsError, R>> for Error
impl<R> From<SdkError<BatchUpsertTableRowsError, R>> for Error
source§fn from(err: SdkError<BatchUpsertTableRowsError, R>) -> Self
fn from(err: SdkError<BatchUpsertTableRowsError, R>) -> Self
source§impl<R> From<SdkError<DescribeTableDataImportJobError, R>> for Error
impl<R> From<SdkError<DescribeTableDataImportJobError, R>> for Error
source§fn from(err: SdkError<DescribeTableDataImportJobError, R>) -> Self
fn from(err: SdkError<DescribeTableDataImportJobError, R>) -> Self
source§impl<R> From<SdkError<GetScreenDataError, R>> for Error
impl<R> From<SdkError<GetScreenDataError, R>> for Error
source§fn from(err: SdkError<GetScreenDataError, R>) -> Self
fn from(err: SdkError<GetScreenDataError, R>) -> Self
source§impl<R> From<SdkError<InvokeScreenAutomationError, R>> for Error
impl<R> From<SdkError<InvokeScreenAutomationError, R>> for Error
source§fn from(err: SdkError<InvokeScreenAutomationError, R>) -> Self
fn from(err: SdkError<InvokeScreenAutomationError, R>) -> Self
source§impl<R> From<SdkError<ListTableColumnsError, R>> for Error
impl<R> From<SdkError<ListTableColumnsError, R>> for Error
source§fn from(err: SdkError<ListTableColumnsError, R>) -> Self
fn from(err: SdkError<ListTableColumnsError, R>) -> Self
source§impl<R> From<SdkError<ListTableRowsError, R>> for Error
impl<R> From<SdkError<ListTableRowsError, R>> for Error
source§fn from(err: SdkError<ListTableRowsError, R>) -> Self
fn from(err: SdkError<ListTableRowsError, R>) -> Self
source§impl<R> From<SdkError<ListTablesError, R>> for Error
impl<R> From<SdkError<ListTablesError, R>> for Error
source§fn from(err: SdkError<ListTablesError, R>) -> Self
fn from(err: SdkError<ListTablesError, R>) -> Self
source§impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
source§fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
source§impl<R> From<SdkError<QueryTableRowsError, R>> for Error
impl<R> From<SdkError<QueryTableRowsError, R>> for Error
source§fn from(err: SdkError<QueryTableRowsError, R>) -> Self
fn from(err: SdkError<QueryTableRowsError, R>) -> Self
source§impl<R> From<SdkError<StartTableDataImportJobError, R>> for Error
impl<R> From<SdkError<StartTableDataImportJobError, R>> for Error
source§fn from(err: SdkError<StartTableDataImportJobError, R>) -> Self
fn from(err: SdkError<StartTableDataImportJobError, R>) -> Self
source§impl<R> From<SdkError<TagResourceError, R>> for Error
impl<R> From<SdkError<TagResourceError, R>> for Error
source§fn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
source§impl<R> From<SdkError<UntagResourceError, R>> for Error
impl<R> From<SdkError<UntagResourceError, R>> for Error
source§fn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
source§impl From<StartTableDataImportJobError> for Error
impl From<StartTableDataImportJobError> for Error
source§fn from(err: StartTableDataImportJobError) -> Self
fn from(err: StartTableDataImportJobError) -> Self
source§impl From<TagResourceError> for Error
impl From<TagResourceError> for Error
source§fn from(err: TagResourceError) -> Self
fn from(err: TagResourceError) -> Self
source§impl From<UntagResourceError> for Error
impl From<UntagResourceError> for Error
source§fn from(err: UntagResourceError) -> Self
fn from(err: UntagResourceError) -> Self
source§impl ProvideErrorMetadata for Error
impl ProvideErrorMetadata for Error
source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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