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

The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.

§

ConflictException(ConflictException)

The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.

§

ResourceNotFoundException(ResourceNotFoundException)

The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.

§

ServiceQuotaExceededException(ServiceQuotaExceededException)

The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.

§

ThrottlingException(ThrottlingException)

The request was denied due to request throttling.

§

ValidationException(ValidationException)

The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.

§

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<BuildError> for Error

source§

fn from(value: BuildError) -> Self

Converts to this type from the input type.
source§

impl From<CreateAccessTokenError> for Error

source§

fn from(err: CreateAccessTokenError) -> Self

Converts to this type from the input type.
source§

impl From<CreateDevEnvironmentError> for Error

source§

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

source§

fn from(err: CreateSourceRepositoryBranchError) -> Self

Converts to this type from the input type.
source§

impl From<CreateSourceRepositoryError> for Error

source§

fn from(err: CreateSourceRepositoryError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteAccessTokenError> for Error

source§

fn from(err: DeleteAccessTokenError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteDevEnvironmentError> for Error

source§

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

source§

fn from(err: DeleteSourceRepositoryError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteSpaceError> for Error

source§

fn from(err: DeleteSpaceError) -> Self

Converts to this type from the input type.
source§

impl From<GetDevEnvironmentError> for Error

source§

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

source§

fn from(err: GetSourceRepositoryCloneUrlsError) -> Self

Converts to this type from the input type.
source§

impl From<GetSourceRepositoryError> for Error

source§

fn from(err: GetSourceRepositoryError) -> Self

Converts to this type from the input type.
source§

impl From<GetSpaceError> for Error

source§

fn from(err: GetSpaceError) -> Self

Converts to this type from the input type.
source§

impl From<GetSubscriptionError> for Error

source§

fn from(err: GetSubscriptionError) -> Self

Converts to this type from the input type.
source§

impl From<GetUserDetailsError> for Error

source§

fn from(err: GetUserDetailsError) -> Self

Converts to this type from the input type.
source§

impl From<GetWorkflowError> for Error

source§

fn from(err: GetWorkflowError) -> Self

Converts to this type from the input type.
source§

impl From<GetWorkflowRunError> for Error

source§

fn from(err: GetWorkflowRunError) -> Self

Converts to this type from the input type.
source§

impl From<ListAccessTokensError> for Error

source§

fn from(err: ListAccessTokensError) -> Self

Converts to this type from the input type.
source§

impl From<ListDevEnvironmentSessionsError> for Error

source§

fn from(err: ListDevEnvironmentSessionsError) -> Self

Converts to this type from the input type.
source§

impl From<ListDevEnvironmentsError> for Error

source§

fn from(err: ListDevEnvironmentsError) -> Self

Converts to this type from the input type.
source§

impl From<ListEventLogsError> for Error

source§

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

source§

fn from(err: ListSourceRepositoriesError) -> Self

Converts to this type from the input type.
source§

impl From<ListSourceRepositoryBranchesError> for Error

source§

fn from(err: ListSourceRepositoryBranchesError) -> Self

Converts to this type from the input type.
source§

impl From<ListSpacesError> for Error

source§

fn from(err: ListSpacesError) -> Self

Converts to this type from the input type.
source§

impl From<ListWorkflowRunsError> for Error

source§

fn from(err: ListWorkflowRunsError) -> Self

Converts to this type from the input type.
source§

impl From<ListWorkflowsError> for Error

source§

fn from(err: ListWorkflowsError) -> Self

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl From<StartDevEnvironmentError> for Error

source§

fn from(err: StartDevEnvironmentError) -> Self

Converts to this type from the input type.
source§

impl From<StartDevEnvironmentSessionError> for Error

source§

fn from(err: StartDevEnvironmentSessionError) -> Self

Converts to this type from the input type.
source§

impl From<StartWorkflowRunError> for Error

source§

fn from(err: StartWorkflowRunError) -> Self

Converts to this type from the input type.
source§

impl From<StopDevEnvironmentError> for Error

source§

fn from(err: StopDevEnvironmentError) -> Self

Converts to this type from the input type.
source§

impl From<StopDevEnvironmentSessionError> for Error

source§

fn from(err: StopDevEnvironmentSessionError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateDevEnvironmentError> for Error

source§

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

source§

fn from(err: UpdateSpaceError) -> Self

Converts to this type from the input type.
source§

impl From<VerifySessionError> for Error

source§

fn from(err: VerifySessionError) -> 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