pub fn is_invalid_game_session_status_exception(&self) -> bool {
        matches!(
            &self.kind,
            CreatePlayerSessionErrorKind::InvalidGameSessionStatusException(_)
        )
    }
/// Returns `true` if the error kind is `CreatePlayerSessionErrorKind::InvalidGameSessionStatusException`.
Returns `true` if the error kind is `CreatePlayerSessionErrorKind::InvalidGameSessionStatusException`.
Returns ` true ` if the error kind is ` CreatePlayerSessionErrorKind :: InvalidGameSessionStatusException ` .
pub fn is_invalid_game_session_status_exception(&self) -> bool {
        matches!(
            &self.kind,
            CreatePlayerSessionErrorKind::InvalidGameSessionStatusException(_)
        )
    }
pub fn is_invalid_game_session_status_exception ( & self ) -> bool { matches ! ( self kind CreatePlayerSessionErrorKind InvalidGameSessionStatusException ( ) ) }
Returns `true` if the error kind is `CreatePlayerSessionErrorKind::InvalidGameSessionStatusException`.
Returns ` true ` if the error kind is ` CreatePlayerSessionErrorKind :: InvalidGameSessionStatusException ` .
&self
&self