#[non_exhaustive]
pub enum Error { AccessDeniedException(AccessDeniedException), ConflictException(ConflictException), InternalServerException(InternalServerException), 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
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.
§

AccessDeniedException(AccessDeniedException)

You do not have sufficient permissions to perform this action.

§

ConflictException(ConflictException)

A resource was in an inconsistent state during an update or a deletion.

§

InternalServerException(InternalServerException)

Unexpected error while processing the request. Retry the request.

§

ResourceNotFoundException(ResourceNotFoundException)

The request references a resource that does not exist.

§

ServiceQuotaExceededException(ServiceQuotaExceededException)

The request would cause a service quota to be exceeded.

§

ServiceUnavailableException(ServiceUnavailableException)

The service was unavailable. Retry the request.

§

ThrottlingException(ThrottlingException)

The request was denied because of request throttling. Retry the request.

§

ValidationException(ValidationException)

The value of a parameter in the request caused an error.

§

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, demand: &mut Demand<'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<BatchEvaluateFeatureError> for Error

source§

fn from(err: BatchEvaluateFeatureError) -> Self

Converts to this type from the input type.
source§

impl From<CreateExperimentError> for Error

source§

fn from(err: CreateExperimentError) -> Self

Converts to this type from the input type.
source§

impl From<CreateFeatureError> for Error

source§

fn from(err: CreateFeatureError) -> Self

Converts to this type from the input type.
source§

impl From<CreateLaunchError> for Error

source§

fn from(err: CreateLaunchError) -> 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<CreateSegmentError> for Error

source§

fn from(err: CreateSegmentError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteExperimentError> for Error

source§

fn from(err: DeleteExperimentError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteFeatureError> for Error

source§

fn from(err: DeleteFeatureError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteLaunchError> for Error

source§

fn from(err: DeleteLaunchError) -> 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<DeleteSegmentError> for Error

source§

fn from(err: DeleteSegmentError) -> Self

Converts to this type from the input type.
source§

impl From<EvaluateFeatureError> for Error

source§

fn from(err: EvaluateFeatureError) -> Self

Converts to this type from the input type.
source§

impl From<GetExperimentError> for Error

source§

fn from(err: GetExperimentError) -> Self

Converts to this type from the input type.
source§

impl From<GetExperimentResultsError> for Error

source§

fn from(err: GetExperimentResultsError) -> Self

Converts to this type from the input type.
source§

impl From<GetFeatureError> for Error

source§

fn from(err: GetFeatureError) -> Self

Converts to this type from the input type.
source§

impl From<GetLaunchError> for Error

source§

fn from(err: GetLaunchError) -> Self

Converts to this type from the input type.
source§

impl From<GetProjectError> for Error

source§

fn from(err: GetProjectError) -> Self

Converts to this type from the input type.
source§

impl From<GetSegmentError> for Error

source§

fn from(err: GetSegmentError) -> Self

Converts to this type from the input type.
source§

impl From<ListExperimentsError> for Error

source§

fn from(err: ListExperimentsError) -> Self

Converts to this type from the input type.
source§

impl From<ListFeaturesError> for Error

source§

fn from(err: ListFeaturesError) -> Self

Converts to this type from the input type.
source§

impl From<ListLaunchesError> for Error

source§

fn from(err: ListLaunchesError) -> 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<ListSegmentReferencesError> for Error

source§

fn from(err: ListSegmentReferencesError) -> Self

Converts to this type from the input type.
source§

impl From<ListSegmentsError> for Error

source§

fn from(err: ListSegmentsError) -> Self

Converts to this type from the input type.
source§

impl From<ListTagsForResourceError> for Error

source§

fn from(err: ListTagsForResourceError) -> Self

Converts to this type from the input type.
source§

impl From<PutProjectEventsError> for Error

source§

fn from(err: PutProjectEventsError) -> Self

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<CreateLaunchError, 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<CreateSegmentError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<DeleteLaunchError, 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<DeleteSegmentError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<ListLaunchesError, 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<ListSegmentReferencesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<UpdateProjectDataDeliveryError, 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 From<StartExperimentError> for Error

source§

fn from(err: StartExperimentError) -> Self

Converts to this type from the input type.
source§

impl From<StartLaunchError> for Error

source§

fn from(err: StartLaunchError) -> Self

Converts to this type from the input type.
source§

impl From<StopExperimentError> for Error

source§

fn from(err: StopExperimentError) -> Self

Converts to this type from the input type.
source§

impl From<StopLaunchError> for Error

source§

fn from(err: StopLaunchError) -> Self

Converts to this type from the input type.
source§

impl From<TagResourceError> for Error

source§

fn from(err: TagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<TestSegmentPatternError> for Error

source§

fn from(err: TestSegmentPatternError) -> Self

Converts to this type from the input type.
source§

impl From<UntagResourceError> for Error

source§

fn from(err: UntagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateExperimentError> for Error

source§

fn from(err: UpdateExperimentError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateFeatureError> for Error

source§

fn from(err: UpdateFeatureError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateLaunchError> for Error

source§

fn from(err: UpdateLaunchError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateProjectDataDeliveryError> for Error

source§

fn from(err: UpdateProjectDataDeliveryError) -> 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 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<E> Provider for Ewhere E: Error + ?Sized,

source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to provide by using demand. Read more
source§

impl<T> Same<T> 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