Enum aws_sdk_gamelift::error::CreatePlayerSessionErrorKind [−][src]
#[non_exhaustive]
pub enum CreatePlayerSessionErrorKind {
GameSessionFullException(GameSessionFullException),
InternalServiceException(InternalServiceException),
InvalidGameSessionStatusException(InvalidGameSessionStatusException),
InvalidRequestException(InvalidRequestException),
NotFoundException(NotFoundException),
TerminalRoutingStrategyException(TerminalRoutingStrategyException),
UnauthorizedException(UnauthorizedException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the CreatePlayerSession
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
GameSessionFullException(GameSessionFullException)
Tuple Fields
The game instance is currently full and cannot allow the requested player(s) to join. Clients can retry such requests immediately or after a waiting period.
InternalServiceException(InternalServiceException)
Tuple Fields
The service encountered an unrecoverable internal failure while processing the request. Clients can retry such requests immediately or after a waiting period.
InvalidGameSessionStatusException(InvalidGameSessionStatusException)
Tuple Fields
The requested operation would cause a conflict with the current state of a resource associated with the request and/or the game instance. Resolve the conflict before retrying.
InvalidRequestException(InvalidRequestException)
Tuple Fields
One or more parameter values in the request are invalid. Correct the invalid parameter values before retrying.
NotFoundException(NotFoundException)
Tuple Fields
A service resource associated with the request could not be found. Clients should not retry such requests.
TerminalRoutingStrategyException(TerminalRoutingStrategyException)
Tuple Fields
The service is unable to resolve the routing for a particular alias because it has a terminal RoutingStrategy associated with it. The message returned in this exception is the message defined in the routing strategy itself. Such requests should only be retried if the routing strategy for the specified alias is modified.
UnauthorizedException(UnauthorizedException)
Tuple Fields
The client failed authentication. Clients should not retry such requests.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CreatePlayerSessionErrorKind
impl Send for CreatePlayerSessionErrorKind
impl Sync for CreatePlayerSessionErrorKind
impl Unpin for CreatePlayerSessionErrorKind
impl !UnwindSafe for CreatePlayerSessionErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
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