def my_retried_method(count_func):
            count_func()
            exception = CfnSphereBotoError(
                ClientError(error_response={"Error": {"Code": "Throttling", "Message": "Rate exceeded"}},
                            operation_name="DescribeStacks"))
            raise exception