Enum aws_sdk_ssooidc::Error[][src]

#[non_exhaustive]
pub enum Error {
Show 13 variants AccessDeniedException(AccessDeniedException), AuthorizationPendingException(AuthorizationPendingException), ExpiredTokenException(ExpiredTokenException), InternalServerException(InternalServerException), InvalidClientException(InvalidClientException), InvalidClientMetadataException(InvalidClientMetadataException), InvalidGrantException(InvalidGrantException), InvalidRequestException(InvalidRequestException), InvalidScopeException(InvalidScopeException), SlowDownException(SlowDownException), UnauthorizedClientException(UnauthorizedClientException), UnsupportedGrantTypeException(UnsupportedGrantTypeException), Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
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 access to perform this action.

Tuple Fields of AccessDeniedException

0: AccessDeniedException
AuthorizationPendingException(AuthorizationPendingException)

Indicates that a request to authorize a client with an access user session token is pending.

Tuple Fields of AuthorizationPendingException

0: AuthorizationPendingException
ExpiredTokenException(ExpiredTokenException)

Indicates that the token issued by the service is expired and is no longer valid.

Tuple Fields of ExpiredTokenException

0: ExpiredTokenException
InternalServerException(InternalServerException)

Indicates that an error from the service occurred while trying to process a request.

Tuple Fields of InternalServerException

0: InternalServerException
InvalidClientException(InvalidClientException)

Indicates that the clientId or clientSecret in the request is invalid. For example, this can occur when a client sends an incorrect clientId or an expired clientSecret.

Tuple Fields of InvalidClientException

0: InvalidClientException
InvalidClientMetadataException(InvalidClientMetadataException)

Indicates that the client information sent in the request during registration is invalid.

Tuple Fields of InvalidClientMetadataException

0: InvalidClientMetadataException
InvalidGrantException(InvalidGrantException)

Indicates that a request contains an invalid grant. This can occur if a client makes a CreateToken request with an invalid grant type.

Tuple Fields of InvalidGrantException

0: InvalidGrantException
InvalidRequestException(InvalidRequestException)

Indicates that something is wrong with the input to the request. For example, a required parameter might be missing or out of range.

Tuple Fields of InvalidRequestException

0: InvalidRequestException
InvalidScopeException(InvalidScopeException)

Indicates that the scope provided in the request is invalid.

Tuple Fields of InvalidScopeException

0: InvalidScopeException
SlowDownException(SlowDownException)

Indicates that the client is making the request too frequently and is more than the service can handle.

Tuple Fields of SlowDownException

0: SlowDownException
UnauthorizedClientException(UnauthorizedClientException)

Indicates that the client is not currently authorized to make the request. This can happen when a clientId is not issued for a public client.

Tuple Fields of UnauthorizedClientException

0: UnauthorizedClientException
UnsupportedGrantTypeException(UnsupportedGrantTypeException)

Indicates that the grant type in the request is not supported by the service.

Tuple Fields of UnsupportedGrantTypeException

0: UnsupportedGrantTypeException
Unhandled(Box<dyn Error + Send + Sync + 'static>)

An unhandled error occurred.

Tuple Fields of Unhandled

0: Box<dyn Error + Send + Sync + 'static>

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

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

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

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

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

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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

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