#[non_exhaustive]
pub enum Error {
Show 14 variants ConcurrentModificationException(ConcurrentModificationException), InvalidNextTokenException(InvalidNextTokenException), InvalidServiceRoleException(InvalidServiceRoleException), LimitExceededException(LimitExceededException), ProjectAlreadyExistsException(ProjectAlreadyExistsException), ProjectConfigurationException(ProjectConfigurationException), ProjectCreationFailedException(ProjectCreationFailedException), ProjectNotFoundException(ProjectNotFoundException), TeamMemberAlreadyAssociatedException(TeamMemberAlreadyAssociatedException), TeamMemberNotFoundException(TeamMemberNotFoundException), UserProfileAlreadyExistsException(UserProfileAlreadyExistsException), UserProfileNotFoundException(UserProfileNotFoundException), 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.
§

ConcurrentModificationException(ConcurrentModificationException)

Another modification is being made. That modification must complete before you can make your change.

§

InvalidNextTokenException(InvalidNextTokenException)

The next token is not valid.

§

InvalidServiceRoleException(InvalidServiceRoleException)

The service role is not valid.

§

LimitExceededException(LimitExceededException)

A resource limit has been exceeded.

§

ProjectAlreadyExistsException(ProjectAlreadyExistsException)

An AWS CodeStar project with the same ID already exists in this region for the AWS account. AWS CodeStar project IDs must be unique within a region for the AWS account.

§

ProjectConfigurationException(ProjectConfigurationException)

Project configuration information is required but not specified.

§

ProjectCreationFailedException(ProjectCreationFailedException)

The project creation request was valid, but a nonspecific exception or error occurred during project creation. The project could not be created in AWS CodeStar.

§

ProjectNotFoundException(ProjectNotFoundException)

The specified AWS CodeStar project was not found.

§

TeamMemberAlreadyAssociatedException(TeamMemberAlreadyAssociatedException)

The team member is already associated with a role in this project.

§

TeamMemberNotFoundException(TeamMemberNotFoundException)

The specified team member was not found.

§

UserProfileAlreadyExistsException(UserProfileAlreadyExistsException)

A user profile with that name already exists in this region for the AWS account. AWS CodeStar user profile names must be unique within a region for the AWS account.

§

UserProfileNotFoundException(UserProfileNotFoundException)

The user profile was not found.

§

ValidationException(ValidationException)

The specified input is either not valid, or it could not be validated.

§

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

source§

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

source§

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

source§

fn from(err: DeleteUserProfileError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeProjectError> for Error

source§

fn from(err: DescribeProjectError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeUserProfileError> for Error

source§

fn from(err: DescribeUserProfileError) -> Self

Converts to this type from the input type.
source§

impl From<DisassociateTeamMemberError> for Error

source§

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

source§

fn from(err: ListResourcesError) -> Self

Converts to this type from the input type.
source§

impl From<ListTagsForProjectError> for Error

source§

fn from(err: ListTagsForProjectError) -> Self

Converts to this type from the input type.
source§

impl From<ListTeamMembersError> for Error

source§

fn from(err: ListTeamMembersError) -> Self

Converts to this type from the input type.
source§

impl From<ListUserProfilesError> for Error

source§

fn from(err: ListUserProfilesError) -> Self

Converts to this type from the input type.
source§

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

source§

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

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl From<TagProjectError> for Error

source§

fn from(err: TagProjectError) -> Self

Converts to this type from the input type.
source§

impl From<UntagProjectError> for Error

source§

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

source§

fn from(err: UpdateTeamMemberError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateUserProfileError> for Error

source§

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