Exemple #1
0
 def my_retried_method(count_func):
     count_func()
     exception = BotoServerError("400", "error")
     exception.code = 'ValidationError'
     raise exception
Exemple #2
0
 def my_retried_method(count_func):
     count_func()
     exception = BotoServerError("400", "error")
     exception.code = 'ValidationError'
     raise exception
Exemple #3
0
 def my_retried_method(count_func):
     count_func()
     exception = BotoServerError("400", "error")
     exception.code = 'Throttling'
     raise exception
Exemple #4
0
 def my_retried_method(count_func):
     count_func()
     exception = BotoServerError("400", "error")
     exception.code = 'Throttling'
     raise exception