#[non_exhaustive]
pub enum Error { AccountLimitExceededException(AccountLimitExceededException), InvalidInputException(InvalidInputException), OAuthProviderException(OAuthProviderException), ResourceAlreadyExistsException(ResourceAlreadyExistsException), ResourceNotFoundException(ResourceNotFoundException), Unhandled(Unhandled), }
Expand description

All possible error types for this service.

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.
§

AccountLimitExceededException(AccountLimitExceededException)

An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.

§

InvalidInputException(InvalidInputException)

The input value that was provided is not valid.

§

OAuthProviderException(OAuthProviderException)

There was a problem with the underlying OAuth provider.

§

ResourceAlreadyExistsException(ResourceAlreadyExistsException)

The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.

§

ResourceNotFoundException(ResourceNotFoundException)

The specified Amazon Web Services resource cannot be found.

§

Unhandled(Unhandled)

An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<BatchDeleteBuildsError> for Error

source§

fn from(err: BatchDeleteBuildsError) -> Self

Converts to this type from the input type.
source§

impl From<BatchGetBuildBatchesError> for Error

source§

fn from(err: BatchGetBuildBatchesError) -> Self

Converts to this type from the input type.
source§

impl From<BatchGetBuildsError> for Error

source§

fn from(err: BatchGetBuildsError) -> Self

Converts to this type from the input type.
source§

impl From<BatchGetProjectsError> for Error

source§

fn from(err: BatchGetProjectsError) -> Self

Converts to this type from the input type.
source§

impl From<BatchGetReportGroupsError> for Error

source§

fn from(err: BatchGetReportGroupsError) -> Self

Converts to this type from the input type.
source§

impl From<BatchGetReportsError> for Error

source§

fn from(err: BatchGetReportsError) -> Self

Converts to this type from the input type.
source§

impl From<BuildError> for Error

source§

fn from(value: BuildError) -> Self

Converts to this type from the input type.
source§

impl From<CreateProjectError> for Error

source§

fn from(err: CreateProjectError) -> Self

Converts to this type from the input type.
source§

impl From<CreateReportGroupError> for Error

source§

fn from(err: CreateReportGroupError) -> Self

Converts to this type from the input type.
source§

impl From<CreateWebhookError> for Error

source§

fn from(err: CreateWebhookError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBuildBatchError> for Error

source§

fn from(err: DeleteBuildBatchError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteProjectError> for Error

source§

fn from(err: DeleteProjectError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteReportError> for Error

source§

fn from(err: DeleteReportError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteReportGroupError> for Error

source§

fn from(err: DeleteReportGroupError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteResourcePolicyError> for Error

source§

fn from(err: DeleteResourcePolicyError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteSourceCredentialsError> for Error

source§

fn from(err: DeleteSourceCredentialsError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteWebhookError> for Error

source§

fn from(err: DeleteWebhookError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeCodeCoveragesError> for Error

source§

fn from(err: DescribeCodeCoveragesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeTestCasesError> for Error

source§

fn from(err: DescribeTestCasesError) -> Self

Converts to this type from the input type.
source§

impl From<GetReportGroupTrendError> for Error

source§

fn from(err: GetReportGroupTrendError) -> Self

Converts to this type from the input type.
source§

impl From<GetResourcePolicyError> for Error

source§

fn from(err: GetResourcePolicyError) -> Self

Converts to this type from the input type.
source§

impl From<ImportSourceCredentialsError> for Error

source§

fn from(err: ImportSourceCredentialsError) -> Self

Converts to this type from the input type.
source§

impl From<InvalidateProjectCacheError> for Error

source§

fn from(err: InvalidateProjectCacheError) -> Self

Converts to this type from the input type.
source§

impl From<ListBuildBatchesError> for Error

source§

fn from(err: ListBuildBatchesError) -> Self

Converts to this type from the input type.
source§

impl From<ListBuildBatchesForProjectError> for Error

source§

fn from(err: ListBuildBatchesForProjectError) -> Self

Converts to this type from the input type.
source§

impl From<ListBuildsError> for Error

source§

fn from(err: ListBuildsError) -> Self

Converts to this type from the input type.
source§

impl From<ListBuildsForProjectError> for Error

source§

fn from(err: ListBuildsForProjectError) -> Self

Converts to this type from the input type.
source§

impl From<ListCuratedEnvironmentImagesError> for Error

source§

fn from(err: ListCuratedEnvironmentImagesError) -> Self

Converts to this type from the input type.
source§

impl From<ListProjectsError> for Error

source§

fn from(err: ListProjectsError) -> Self

Converts to this type from the input type.
source§

impl From<ListReportGroupsError> for Error

source§

fn from(err: ListReportGroupsError) -> Self

Converts to this type from the input type.
source§

impl From<ListReportsError> for Error

source§

fn from(err: ListReportsError) -> Self

Converts to this type from the input type.
source§

impl From<ListReportsForReportGroupError> for Error

source§

fn from(err: ListReportsForReportGroupError) -> Self

Converts to this type from the input type.
source§

impl From<ListSharedProjectsError> for Error

source§

fn from(err: ListSharedProjectsError) -> Self

Converts to this type from the input type.
source§

impl From<ListSharedReportGroupsError> for Error

source§

fn from(err: ListSharedReportGroupsError) -> Self

Converts to this type from the input type.
source§

impl From<ListSourceCredentialsError> for Error

source§

fn from(err: ListSourceCredentialsError) -> Self

Converts to this type from the input type.
source§

impl From<PutResourcePolicyError> for Error

source§

fn from(err: PutResourcePolicyError) -> Self

Converts to this type from the input type.
source§

impl From<RetryBuildBatchError> for Error

source§

fn from(err: RetryBuildBatchError) -> Self

Converts to this type from the input type.
source§

impl From<RetryBuildError> for Error

source§

fn from(err: RetryBuildError) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<BatchDeleteBuildsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<BatchDeleteBuildsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<BatchGetBuildBatchesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<BatchGetBuildBatchesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<BatchGetBuildsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<BatchGetBuildsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<BatchGetProjectsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<BatchGetProjectsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<BatchGetReportGroupsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<BatchGetReportGroupsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<BatchGetReportsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<BatchGetReportsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateProjectError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateProjectError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateReportGroupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateReportGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateWebhookError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateWebhookError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteBuildBatchError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteBuildBatchError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteProjectError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteProjectError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteReportError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteReportError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteReportGroupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteReportGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteResourcePolicyError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteResourcePolicyError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteSourceCredentialsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteSourceCredentialsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteWebhookError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteWebhookError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeCodeCoveragesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeCodeCoveragesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeTestCasesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeTestCasesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetReportGroupTrendError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetReportGroupTrendError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetResourcePolicyError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetResourcePolicyError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ImportSourceCredentialsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ImportSourceCredentialsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<InvalidateProjectCacheError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<InvalidateProjectCacheError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListBuildBatchesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListBuildBatchesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListBuildBatchesForProjectError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListBuildBatchesForProjectError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListBuildsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListBuildsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListBuildsForProjectError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListBuildsForProjectError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListCuratedEnvironmentImagesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListCuratedEnvironmentImagesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListProjectsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListProjectsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListReportGroupsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListReportGroupsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListReportsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListReportsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListReportsForReportGroupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListReportsForReportGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListSharedProjectsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListSharedProjectsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListSharedReportGroupsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListSharedReportGroupsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListSourceCredentialsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListSourceCredentialsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutResourcePolicyError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<PutResourcePolicyError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<RetryBuildBatchError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<RetryBuildBatchError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<RetryBuildError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<RetryBuildError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<StartBuildBatchError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<StartBuildBatchError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<StartBuildError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<StartBuildError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<StopBuildBatchError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<StopBuildBatchError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<StopBuildError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<StopBuildError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateProjectError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateProjectError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateProjectVisibilityError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateProjectVisibilityError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateReportGroupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateReportGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateWebhookError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateWebhookError, R>) -> Self

Converts to this type from the input type.
source§

impl From<StartBuildBatchError> for Error

source§

fn from(err: StartBuildBatchError) -> Self

Converts to this type from the input type.
source§

impl From<StartBuildError> for Error

source§

fn from(err: StartBuildError) -> Self

Converts to this type from the input type.
source§

impl From<StopBuildBatchError> for Error

source§

fn from(err: StopBuildBatchError) -> Self

Converts to this type from the input type.
source§

impl From<StopBuildError> for Error

source§

fn from(err: StopBuildError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateProjectError> for Error

source§

fn from(err: UpdateProjectError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateProjectVisibilityError> for Error

source§

fn from(err: UpdateProjectVisibilityError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateReportGroupError> for Error

source§

fn from(err: UpdateReportGroupError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateWebhookError> for Error

source§

fn from(err: UpdateWebhookError) -> Self

Converts to this type from the input type.
source§

impl RequestId for Error

source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.

Auto Trait Implementations§

§

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> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unsharedwhere Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more